0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
osticket
/
1.6.r0-1
/
standard
/
htdocs
/
[
Home
]
File: secure.inc.php
<?php /********************************************************************* secure.inc.php File included on every client's "secure" pages Peter Rotich <peter@osticket.com> Copyright (c) 2006-2010 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: $Id: $ **********************************************************************/ if(!strcasecmp(basename($_SERVER['SCRIPT_NAME']),basename(__FILE__))) die('Kwaheri rafiki!'); if(!file_exists('client.inc.php')) die('Fatal Error.'); require_once('client.inc.php'); //User must be logged in! if(!$thisclient || !$thisclient->getId() || !$thisclient->isValid()){ require('./login.php'); exit; } $thisclient->refreshSession(); ?>