diff --git a/client.inc.php b/client.inc.php index 64877cc46b004f2f9ef3d3a2c4c69a24b81f8b1d..001a63ebd5c94ea95075e6cb5bc08a52415b1d24 100644 --- a/client.inc.php +++ b/client.inc.php @@ -29,7 +29,7 @@ define('OSTCLIENTINC',TRUE); define('ASSETS_PATH',ROOT_PATH.'assets/default/'); //Check the status of the HelpDesk. -if (!in_array(strtolower(basename($_SERVER['SCRIPT_NAME'])), array('logo.php',)) +if (!in_array(strtolower(basename($_SERVER['SCRIPT_NAME'])), array('logo.php','file.php')) && !(is_object($ost) && $ost->isSystemOnline())) { include(ROOT_DIR.'offline.php'); exit;