Issue #39 fixed

This commit is contained in:
Rooty 2020-12-18 08:01:18 +01:00
parent b800bdbb49
commit 900174ecc8

View File

@ -225,7 +225,10 @@ var $currentCoordinationObject=null;
// if( file_exists($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR'].$_SERVER["HTTP_HOST"]."-landingpage.mxt") ) {
// $GLOBALS['SYSTEM_TEMPLATE_MAIN'] =$_SERVER["HTTP_HOST"]."-landingpage.mxt";
// } else {
$GLOBALS['SYSTEM_TEMPLATE_MAIN'] ="main-guest.mxt";
if( file_exists($GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."main-guest.mxt") )
$GLOBALS['SYSTEM_TEMPLATE_MAIN'] ="main-guest.mxt";
else
$GLOBALS['SYSTEM_TEMPLATE_MAIN'] ="main.mxt";
// }
}