Changeset 3730:5c45a5df9a59 for plugins/blowupConfig/_install.php
- Timestamp:
- 03/08/18 17:58:39 (8 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blowupConfig/_install.php
r2566 r3730 10 10 # 11 11 # -- END LICENSE BLOCK ----------------------------------------- 12 if (!defined('DC_CONTEXT_ADMIN')) { return;}12 if (!defined('DC_CONTEXT_ADMIN')) {return;} 13 13 14 $version = $core->plugins->moduleInfo('blowupConfig', 'version');15 if (version_compare($core->getVersion('blowupConfig'), $version,'>=')) {16 14 $version = $core->plugins->moduleInfo('blowupConfig', 'version'); 15 if (version_compare($core->getVersion('blowupConfig'), $version, '>=')) { 16 return; 17 17 } 18 18 19 $settings = new dcSettings($core, null);19 $settings = new dcSettings($core, null); 20 20 $settings->addNamespace('themes'); 21 $settings->themes->put('blowup_style', '','string','Blow Up custom style',false);21 $settings->themes->put('blowup_style', '', 'string', 'Blow Up custom style', false); 22 22 23 $core->setVersion('blowupConfig', $version);23 $core->setVersion('blowupConfig', $version); 24 24 return true;
Note: See TracChangeset
for help on using the changeset viewer.