diff options
-rw-r--r-- | mirror.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -62,5 +62,9 @@ if (!file_exists($root.'/'.$filename)) { $mirror = $mirrors[array_rand($mirrors)]; } } - header('Location: '.$mirror.$filename); + $location = $mirror.$filename; + if ($mirror === $tier0_url) { + $location .= "?noredirect"; + } + header('Location: '.$location); } |