From a75f294a09c8afede585d6f09eecc5c690628d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Wed, 9 Nov 2022 14:43:59 +0800 Subject: [PATCH] www log --- application/third_party/wwwlog/controllers/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/third_party/wwwlog/controllers/index.php b/application/third_party/wwwlog/controllers/index.php index 16c5ebd4..65c270f8 100644 --- a/application/third_party/wwwlog/controllers/index.php +++ b/application/third_party/wwwlog/controllers/index.php @@ -73,7 +73,7 @@ class Index extends CI_Controller and request_uri NOT like '/ajax/getads/' and request_uri NOT like '/public/template/footer.html' and request_uri NOT like '/public/%' - and (remote_addr='$ip' OR http_x_forwarded_for like '%'$ip'%') + and (remote_addr='$ip' OR http_x_forwarded_for like '%$ip%') ";//ORDER BY time_local ASC 时间精度不够,会导致相同排序错误,只能用系统默认排序 /* remote_addr :'23.99.99.139'