From e8abf792f7f5546615ac7db026efefa32c3104f7 Mon Sep 17 00:00:00 2001 From: liyuchun Date: Fri, 22 Apr 2022 11:21:32 +0800 Subject: [PATCH] * Fix bug #11939. --- framework/base/helper.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/helper.class.php b/framework/base/helper.class.php index ac1dcb7f2e..3a645afe62 100644 --- a/framework/base/helper.class.php +++ b/framework/base/helper.class.php @@ -691,7 +691,7 @@ class baseHelper * @access public * @return string */ - public static function getRemoteIp($proxy = false) + public static function getRemoteIp($proxy = true) { $ip = ''; if(!empty($_SERVER["REMOTE_ADDR"])) $ip = $_SERVER["REMOTE_ADDR"];