Avoid infinite redirect loop.
This commit is contained in:
parent
fbf63ba769
commit
8a11d9a0f7
@ -1,4 +1,6 @@
|
||||
<?php
|
||||
if ($_ENV["SCRIPT_URL"] == $_ENV["SCRIPT_NAME"])
|
||||
die("Infinite loop.");
|
||||
putenv('LANG=en_US.UTF-8');
|
||||
passthru("utils/serverexecute ".escapeshellarg($_ENV["SCRIPT_URI"]."#!".$_GET["_escaped_fragment_"]));
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user