up obserpations

This commit is contained in:
Ronald Quenta
2017-08-10 16:55:51 -04:00
parent d8e9ab8844
commit 9a1f8b7fdc

View File

@@ -22,6 +22,8 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*/
use ProcessMaker\Plugins\PluginRegistry;
/**
* bootstrap - ProcessMaker Bootstrap
* this file is used initialize main variables, redirect and dispatch all requests
@@ -680,7 +682,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\PluginRegistry::loadSingleton();
$oPluginRegistry = PluginRegistry::loadSingleton();
$attributes = $oPluginRegistry->getAttributes();
Bootstrap::LoadTranslationPlugins( defined( 'SYS_LANG' ) ? SYS_LANG : "en" , $attributes);