From 3f255f3564adda6b7fc62bc12e2988179614f323 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 8 Nov 2019 16:15:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ThinkPHP/Common/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThinkPHP/Common/functions.php b/ThinkPHP/Common/functions.php index a6543df8d..39d74168a 100644 --- a/ThinkPHP/Common/functions.php +++ b/ThinkPHP/Common/functions.php @@ -1449,7 +1449,7 @@ function load_ext_file($path) { * @param boolean $adv 是否进行高级模式获取(有可能被伪装) * @return mixed */ -function get_client_ip($type = 0,$adv=false) { +function get_client_ip($type = 0, $adv=true) { $type = $type ? 1 : 0; static $ip = NULL; if ($ip !== NULL) return $ip[$type];