diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 41b609f22..17dea5f15 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -299,6 +299,10 @@ die; } + // Create headPublisher singleton + G::LoadSystem('headPublisher'); + $oHeadPublisher =& headPublisher::getSingleton(); + // database and workspace definition // if SYS_TEMP exists, the URL has a workspace, now we need to verify if exists their db.php file if ( defined('SYS_TEMP') && SYS_TEMP != '') { @@ -363,10 +367,6 @@ define('SERVER_NAME', $_SERVER ['SERVER_NAME']); define('SERVER_PORT', $_SERVER ['SERVER_PORT']); - // Create headPublisher singleton - G::LoadSystem('headPublisher'); - $oHeadPublisher =& headPublisher::getSingleton(); - // create memcached singleton G::LoadClass ( 'memcached' ); $memcache = & PMmemcached::getSingleton(SYS_SYS);