Skip to content
Snippets Groups Projects
Commit f1915615 authored by sabas's avatar sabas
Browse files

Update client.inc.php incorrect behaviour in offline mode

With ./, if called from knowledge base, it searches incorrectly offline.php in that folder.
parent e8d9a299
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ define('ASSETS_PATH',ROOT_PATH.'assets/default/');
//Check the status of the HelpDesk.
if (!in_array(strtolower(basename($_SERVER['SCRIPT_NAME'])), array('logo.php',))
&& !(is_object($ost) && $ost->isSystemOnline())) {
include('./offline.php');
include('offline.php');
exit;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment