diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 17dea5f15..473428c5c 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -256,6 +256,10 @@ G::LoadSystem('httpProxyController'); G::LoadSystem('pmException'); + // Create headPublisher singleton + G::LoadSystem('headPublisher'); + $oHeadPublisher =& headPublisher::getSingleton(); + // Installer, redirect to install if we don't have a valid shared data folder if ( !defined('PATH_DATA') || !file_exists(PATH_DATA)) { @@ -299,10 +303,6 @@ 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 != '') {