Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ExpressionEngine add-on config file. Belongs in add-on root.
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
You can’t perform that action at this time.