summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-03-10 16:04:47 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-03-10 16:04:47 -0700
commita62218aaf5408b3e4af0c4a9d450153a5026b101 (patch)
tree0f58e216255bed5ba6c632a3d0f78be97ebad3bc
parentfddc68fcc46f199d93e119cb1f7e86949835ffc3 (diff)
downloadpathery-a62218aaf5408b3e4af0c4a9d450153a5026b101.tar.xz
No more infinite redirects.
-rw-r--r--redirect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/redirect.php b/redirect.php
index e010d94..4732002 100644
--- a/redirect.php
+++ b/redirect.php
@@ -1,6 +1,7 @@
<?
$to = $_GET['to'];
include('globe.php');
+if ($to == '') $to = $mydomain;
?>
<html>
@@ -65,7 +66,6 @@ function countdownRedirect() {
window.location = "<? echo $to; ?>";
}
}
-// http://www.mazetd.4xg.net/redirect?to=http://www.mazetd.4xg.net/redirect?to=http://www.youtube.com/watch?v=FCSBoOcGFFE
</script>
</head>