| Current Path : /usr/local/lsws/admin/html.6.3.4/includes/ |
| Current File : //usr/local/lsws/admin/html.6.3.4/includes/auth.php |
<?php
require_once('global.php');
$client = CLIENT::singleton();
if ( !$client->isValid()
|| (isset($_SERVER['HTTP_REFERER'])
&& strpos($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST']) === FALSE))
{
$client->clear();
header('location:/login.php');
die();
}