From 9661b7b7d855ab72386408d562ef70025b96e784 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Wed, 7 Nov 2018 16:54:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89reffer=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/upload.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/upload.php b/functions/upload.php index 67b4489..c5dfbf8 100644 --- a/functions/upload.php +++ b/functions/upload.php @@ -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);