Skip to content

Instantly share code, notes, and snippets.

@curtisblackwell
Created July 5, 2011 02:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save curtisblackwell/1064184 to your computer and use it in GitHub Desktop.
ExpressionEngine add-on config file. Belongs in add-on root.
<?php
/*
Place the following line above the $plugin_info array in pi.[add_on_name].php:
require_once(PATH_THIRD . '[websafe_add-on_name]/config.php');
*/
if (! defined('ADD_ON_V')) {
define('ADD_ON_NAME', 'cpb [Add-on Name]');
define('ADD_ON_V', '0.1');
}
$config['name'] = ADD_ON_NAME;
$config['version'] = ADD_ON_V;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment