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);