去掉reffer验证
parent
57d0e0ebaa
commit
9661b7b7d8
|
@ -2,10 +2,10 @@
|
|||
//载入配置文件
|
||||
include_once("./class/class.user.php");
|
||||
//阻止用户直接访问
|
||||
if( !strstr($_SERVER['HTTP_REFERER'],$config['domain']) )
|
||||
{
|
||||
$basis->re_error('非法请求!');
|
||||
}
|
||||
//if( !strstr($_SERVER['HTTP_REFERER'],$config['domain']) )
|
||||
//{
|
||||
// $basis->re_error('非法请求!');
|
||||
//}
|
||||
|
||||
//检查用户是否登录
|
||||
$status = $basis->check($config);
|
||||
|
|
Loading…
Reference in New Issue