throw new MethodNotImplementedException(__METHOD__);
}
+ static function corePlugins() {
+ return common_config('plugins', 'core');
+ }
static function defaultPlugins() {
- return array_merge(common_config('plugins', 'core'),
- common_config('plugins', 'default'));
+ return common_config('plugins', 'default');
}
}
)
),
'plugins' => array(
+ 'core' => self::corePlugins(),
'default' => array_merge(self::defaultPlugins(), array(
'Directory' => null,
'ExtendedProfile' => null,
)
),
'plugins' => array(
+ 'core' => self::corePlugins(),
'default' => array_merge(self::defaultPlugins(), array(
'Directory' => null,
'ExtendedProfile' => null,
)
),
'plugins' => array(
+ 'core' => self::corePlugins(),
'default' => array_merge(self::defaultPlugins(), array(
'Directory' => null,
'Geonames' => null,
)
),
'plugins' => array(
+ 'core' => self::corePlugins(),
'default' => array_merge(self::defaultPlugins(), array(
'Geonames' => null,
'NewMenu' => null,
{
Router::clear();
- StatusNet::initDefaults($server, $path);
- StatusNet::loadConfigFile($conffile);
+ self::initDefaults($server, $path);
+ self::loadConfigFile($conffile);
$sprofile = common_config('site', 'profile');
if (!empty($sprofile)) {
- StatusNet::loadSiteProfile($sprofile);
+ self::loadSiteProfile($sprofile);
}
// Load settings from database; note we need autoload for this
Config::loadSettings();