Dotclear


Ignore:
Timestamp:
10/09/13 08:37:56 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Move ex-daInstaller settings to core and install and upgrade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/plugins.php

    r2314 r2319  
    1515dcPage::check('admin'); 
    1616 
    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, true 
    21      ); 
    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, true 
    26      ); 
    27 } 
    28  
    2917# -- Page helper -- 
    3018$list = new adminModulesList( 
     
    3422); 
    3523 
    36 adminModulesList::$allow_multi_install = $core->blog->settings->system->plugins_allow_multi_install; 
     24adminModulesList::$allow_multi_install = (boolean) DC_ALLOW_MULTI_MODULES; 
    3725adminModulesList::$distributed_modules = explode(',', DC_DISTRIB_PLUGINS); 
    3826 
Note: See TracChangeset for help on using the changeset viewer.

Sites map