-
Jared Hancock authored
Administrators are allowed to upload one or more logos and then select from the uploaded logos to set one for the client site. Logos can also be deleted on settings->pages submission
Jared Hancock authoredAdministrators are allowed to upload one or more logos and then select from the uploaded logos to set one for the client site. Logos can also be deleted on settings->pages submission
secure.inc.php 1.02 KiB
<?php
/*********************************************************************
secure.inc.php
File included on every client's "secure" pages
Peter Rotich <peter@osticket.com>
Copyright (c) 2006-2013 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:
**********************************************************************/
if(!strcasecmp(basename($_SERVER['SCRIPT_NAME']),basename(__FILE__))) die('Kwaheri!');
if(!file_exists('client.inc.php')) die('Fatal Error.');
require_once('client.inc.php');
//Client Login page: Ajax interface can pre-declare the function to trap logins.
if(!function_exists('clientLoginPage')) {
function clientLoginPage($msg ='') {
global $ost;
require('./login.php');
exit;
}
}
//User must be logged in!
if(!$thisclient || !$thisclient->getId() || !$thisclient->isValid()){
clientLoginPage();
exit;
}
$thisclient->refreshSession();
?>