Changeset 2319:abe2702e1585 for admin/plugins.php
- Timestamp:
- 10/09/13 08:37:56 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/plugins.php
r2314 r2319 15 15 dcPage::check('admin'); 16 16 17 # -- "First time" settings setup --18 if ($core->blog->settings->system->plugins_allow_multi_install === null) {19 $core->blog->settings->system->put(20 'plugins_allow_multi_install', false, 'boolean', 'Allow multi-installation for plugins', true, true21 );22 }23 if ($core->blog->settings->system->store_plugin_url === null) {24 $core->blog->settings->system->put(25 'store_plugin_url', 'http://update.dotaddict.org/dc2/plugins.xml', 'string', 'Plugins XML feed location', true, true26 );27 }28 29 17 # -- Page helper -- 30 18 $list = new adminModulesList( … … 34 22 ); 35 23 36 adminModulesList::$allow_multi_install = $core->blog->settings->system->plugins_allow_multi_install;24 adminModulesList::$allow_multi_install = (boolean) DC_ALLOW_MULTI_MODULES; 37 25 adminModulesList::$distributed_modules = explode(',', DC_DISTRIB_PLUGINS); 38 26
Note: See TracChangeset
for help on using the changeset viewer.