change
This commit is contained in:
@@ -419,12 +419,7 @@
|
||||
|
||||
//here we are loading all plugins registered
|
||||
//the singleton has a list of enabled plugins
|
||||
$sSerializedFile = PATH_DATA_SITE . 'plugin.singleton';
|
||||
$oPluginRegistry =& PMPluginRegistry::getSingleton();
|
||||
|
||||
if (file_exists ($sSerializedFile)) {
|
||||
$oPluginRegistry->unSerializeInstance(file_get_contents($sSerializedFile));
|
||||
}
|
||||
$oPluginRegistry = \ProcessMaker\Plugins\PluginRegistry::loadSingleton();
|
||||
|
||||
// setup propel definitions and logging
|
||||
require_once ( "propel/Propel.php" );
|
||||
|
||||
@@ -680,7 +680,7 @@ if (defined( 'DEBUG_SQL_LOG' ) && DEBUG_SQL_LOG) {
|
||||
|
||||
//here we are loading all plugins registered
|
||||
//the singleton has a list of enabled plugins
|
||||
$oPluginRegistry = &ProcessMaker\Plugins\PluginsRegistry::loadSingleton();
|
||||
$oPluginRegistry = ProcessMaker\Plugins\PluginRegistry::loadSingleton();
|
||||
$attributes = $oPluginRegistry->getAttributes();
|
||||
Bootstrap::LoadTranslationPlugins( defined( 'SYS_LANG' ) ? SYS_LANG : "en" , $attributes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user