Commit ed7b4825 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update index.php

parent ddc2f3a9
......@@ -9,9 +9,6 @@
# Manchmal passiert es, dass ein Proxy sowohl den HEADER HTTP_FORWARDED, als auch den HEADER "HTTP_X_FORWARDED_FOR" setzt
# Wir löschen den einen und verwenden Ihn nicht:
if (!empty($_SERVER["HTTP_X_ORIGINAL_FORWARDED_FOR"])) {
$_SERVER["HTTP_X_FORWARDED_FOR"] = $_SERVER["HTTP_X_ORIGINAL_FORWARDED_FOR"];
}
if (isset($_SERVER["HTTP_FORWARDED"]) && isset($_SERVER["HTTP_X_FORWARDED_FOR"])) {
unset($_SERVER["HTTP_FORWARDED"]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment