Server IP : 184.154.167.98 / Your IP : 3.142.130.127 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/www/mesa/ |
Upload File : |
<?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, $cfg, $nav; $_SESSION['_client']['auth']['dest'] = '/' . ltrim($_SERVER['REQUEST_URI'], '/'); require('./login.php'); exit; } } //User must be logged in! if(!$thisclient || !$thisclient->getId() || !$thisclient->isValid()){ clientLoginPage(); exit; } $thisclient->refreshSession(); ?>