diff --git a/include/client/header.inc.php b/include/client/header.inc.php index 781df6e59568d7b20e3c926c046f6ea5214b7ae5..6636c4ddeb1c18d2b478d695a4226e8a219239e3 100644 --- a/include/client/header.inc.php +++ b/include/client/header.inc.php @@ -21,7 +21,7 @@ header("Content-Type: text/html; charset=UTF-8\r\n"); <div id="container"> <div id="header"> <a id="logo" href="<?php echo ROOT_PATH; ?>index.php" - title="Support Center"><img src="logo.php" border=0 alt="<?php + title="Support Center"><img src="<?php echo ROOT_PATH; ?>logo.php" border=0 alt="<?php echo $ost->getConfig()->getTitle(); ?>" style="height: 5em"></a> <p> diff --git a/offline.php b/offline.php index 04323f9e0a86d6831b6e6149ed65f3933fa88ed1..ca7654c710409f91e718e790ff6340686700b5f1 100644 --- a/offline.php +++ b/offline.php @@ -14,7 +14,9 @@ vim: expandtab sw=4 ts=4 sts=4: **********************************************************************/ require_once('client.inc.php'); -if(is_object($ost) && $ost->isSystemOnline()) { +if(is_object($ost) && $ost->isSystemOnline() + && (!in_array(strtolower(basename($_SERVER['SCRIPT_NAME'])), + array('logo.php',)))) { @header('Location: index.php'); //Redirect if the system is online. include('index.php'); exit;