diff --git a/workflow/engine/bin/cron.php b/workflow/engine/bin/cron.php index d6f35acae..408907a40 100755 --- a/workflow/engine/bin/cron.php +++ b/workflow/engine/bin/cron.php @@ -71,12 +71,18 @@ try { $classLoader->add(PATH_TRUNK . 'framework' . PATH_SEP . 'src' . PATH_SEP, 'Maveriks'); $classLoader->add(PATH_TRUNK . 'workflow' . PATH_SEP . 'engine' . PATH_SEP . 'src' . PATH_SEP, 'ProcessMaker'); $classLoader->add(PATH_TRUNK . 'workflow' . PATH_SEP . 'engine' . PATH_SEP . 'src' . PATH_SEP); + $classLoader->addClass('Bootstrap', PATH_TRUNK . 'gulliver' . PATH_SEP . 'system' . PATH_SEP . 'class.bootstrap.php'); + Bootstrap::initVendors(); + + //Enable Monolog + Bootstrap::LoadSystem( 'monologProvider' ); $classLoader->addModelClassPath(PATH_TRUNK . 'workflow' . PATH_SEP . 'engine' . PATH_SEP . 'classes' . PATH_SEP . 'model' . PATH_SEP); //Load classes G::LoadThirdParty('propel', 'Propel'); G::LoadClass('system'); G::LoadClass('tasks'); + G::LoadClass('pmException'); $arraySystemConfiguration = System::getSystemConfiguration();