From 7fcb73c8c9874b91942baa7fcf4823ab4f86de26 Mon Sep 17 00:00:00 2001 From: wenquan <80071319@qq.com> Date: Sun, 6 Sep 2020 13:26:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/ajax.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/admin/ajax.php b/admin/ajax.php index 0391fa1..353861b 100644 --- a/admin/ajax.php +++ b/admin/ajax.php @@ -1062,6 +1062,7 @@ switch ($_GET['mod']){ break; case 'checkupdate': + die(-1); $newver = curl_request('http://download.bwenquan.com/update/shouquanver.txt'); if ($newver > $G['siteinfo']['ver'] ){ @@ -1206,9 +1207,6 @@ switch ($_GET['mod']){ if(!isset($_POST['kt_ip'])){ $_POST['kt_ip'] = ''; } - if(!isset($_POST['kt_ip'])){ - $_POST['kt_ip'] = ''; - } if(!isset($_POST['kt_robotqq'])){ $_POST['kt_robotqq'] = ''; }