HOR-4284
This commit is contained in:
@@ -174,6 +174,8 @@ class PluginRegistry
|
|||||||
$Plugin = new $className($pluginDetail->getNamespace(), $pluginDetail->getFile());
|
$Plugin = new $className($pluginDetail->getNamespace(), $pluginDetail->getFile());
|
||||||
$this->_aPlugins[$pluginDetail->getNamespace()] = $Plugin;
|
$this->_aPlugins[$pluginDetail->getNamespace()] = $Plugin;
|
||||||
$iPlugins++;
|
$iPlugins++;
|
||||||
|
$Plugin->registerPmFunction();
|
||||||
|
$this->init();
|
||||||
$Plugin->setup();
|
$Plugin->setup();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -695,6 +695,7 @@ if (defined( 'DEBUG_SQL_LOG' ) && DEBUG_SQL_LOG) {
|
|||||||
//here we are loading all plugins registered
|
//here we are loading all plugins registered
|
||||||
//the singleton has a list of enabled plugins
|
//the singleton has a list of enabled plugins
|
||||||
$oPluginRegistry = PluginRegistry::loadSingleton();
|
$oPluginRegistry = PluginRegistry::loadSingleton();
|
||||||
|
$oPluginRegistry->init();
|
||||||
$attributes = $oPluginRegistry->getAttributes();
|
$attributes = $oPluginRegistry->getAttributes();
|
||||||
Bootstrap::LoadTranslationPlugins( defined( 'SYS_LANG' ) ? SYS_LANG : "en" , $attributes);
|
Bootstrap::LoadTranslationPlugins( defined( 'SYS_LANG' ) ? SYS_LANG : "en" , $attributes);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user