This commit is contained in:
liyuchun
2022-04-22 11:21:32 +08:00
parent 7cc557e528
commit e8abf792f7
+1 -1
View File
@@ -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"];