diff --git a/workflow/engine/bin/cron_single.php b/workflow/engine/bin/cron_single.php index 21d0dd1a1..94cd171a4 100644 --- a/workflow/engine/bin/cron_single.php +++ b/workflow/engine/bin/cron_single.php @@ -207,6 +207,13 @@ try { eprintln('WARNING! No server info found!', 'red'); } + $sSerializedFile = PATH_DATA_SITE . 'plugin.singleton'; + + if (file_exists($sSerializedFile)) { + $pluginRegistry = PMPluginRegistry::loadSingleton($sSerializedFile); + } + G::LoadClass('pmScript'); + //DB $phpCode = ''; @@ -334,10 +341,6 @@ try { G::outRes( G::LoadTranslation("ID_EXCEPTION_LOG_INTERFAZ", array($token)) . "\n" ); } - - - - //Functions function processWorkspace() {