Skip to content
Snippets Groups Projects
offline.php 994 B
Newer Older
  • Learn to ignore specific revisions
  • Jared Hancock's avatar
    Jared Hancock committed
    <?php
    /*********************************************************************
        offline.php
    
        Offline page...modify to fit your needs.
    
        Peter Rotich <peter@osticket.com>
        Copyright (c)  2006-2012 osTicket
        http://www.osticket.com
    
        Released under the GNU General Public License WITHOUT ANY WARRANTY.
        See LICENSE.TXT for details.
    
        vim: expandtab sw=4 ts=4 sts=4:
    **********************************************************************/
    require_once('client.inc.php');
    
    if($cfg && !$cfg->isHelpDeskOffline()) { 
        @header('Location: index.php'); //Redirect if the system is online.
        include('index.php');
        exit;
    }
    
    Jared Hancock's avatar
    Jared Hancock committed
    $nav=null;
    require(CLIENTINC_DIR.'header.inc.php');
    ?>
    <div id="landing_page">
        <h1>Support Ticket System Offline</h1>
        <p>Thank you for your interest in contacting us.</p>
        <p>Our helpdesk is offline at the moment, please check back at a later time.</p>
    </div>
    <?php require(CLIENTINC_DIR.'footer.inc.php'); ?>