Created
August 31, 2014 11:06
-
-
Save scribetw/f7033e938b1b9957b937 to your computer and use it in GitHub Desktop.
lib_common.php 8th.Release diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git "a/B:\\Temp\\TortoiseGit\\lib3DF1.tmp\\lib_common-c6e4c19-left.php" "b/D:\\wwwroot\\pixmicat\\github\\pixmicat\\lib\\lib_common.php" | |
index ff30c4f..f28929b 100644 | |
--- "a/B:\\Temp\\TortoiseGit\\lib3DF1.tmp\\lib_common-c6e4c19-left.php" | |
+++ "b/D:\\wwwroot\\pixmicat\\github\\pixmicat\\lib\\lib_common.php" | |
@@ -346,6 +346,8 @@ function getREMOTE_ADDR(){ | |
* 取得 (Transparent) Proxy 提供之 IP 參數 | |
*/ | |
function getRemoteAddrThroughProxy() { | |
+ global $PROXYHEADERlist; | |
+ | |
if (!defined('TRUST_HTTP_X_FORWARDED_FOR') || !TRUST_HTTP_X_FORWARDED_FOR) { | |
return ''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment