From 6bb784389ea633af2fa57e7f9a6b470bd0ceeed5 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Mon, 12 Jan 2015 10:04:04 -0600
Subject: [PATCH] oops: Allow usage of file.php if system is offline

---
 client.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client.inc.php b/client.inc.php
index 64877cc46..001a63ebd 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;
-- 
GitLab