ExpressionEngine add-on config file. Belongs in add-on root.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Idea stolen from Brandon Kelly of pixelandtonic.com | |
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_NAME]_V')) { | |
define('[ADD_ON_NAME]_NAME', 'cpb [ADD-ON NAME]'); | |
define('[ADD_ON_NAME]_V', '[VERSION NUMBER]'); | |
} | |
$config['name'] = [ADD_ON_NAME]_NAME; | |
$config['version'] = [ADD_ON_NAME]_V; | |
$config['nsm_addon_updater']['versions_xml'] = 'http://curtisblackwell.com/expressionengine-add-ons/rss_[ADD-ON_NAME]'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment