From 9a1f8b7fdc3881e01a0eb73f4d920f5d8fb3d5e1 Mon Sep 17 00:00:00 2001 From: Ronald Quenta Date: Thu, 10 Aug 2017 16:55:51 -0400 Subject: [PATCH] up obserpations --- workflow/public_html/sysGeneric.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index a121ee9ab..ab1386acd 100644 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -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);