summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-28 23:09:41 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-28 23:09:41 -0800
commitfe36da64909a2ad8b7f48be5b4307ed6115ecc39 (patch)
tree2e0ef78aabc2efb3fca2dde58f9c28c67b3466c0 /index.php
parent60fa55b49e8f4cf8570882b5eb6ad3f9bbb7885b (diff)
downloadpathery-fe36da64909a2ad8b7f48be5b4307ed6115ecc39.tar.xz
Chat /me and URL Linking
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index f5f6037..9a5f7d7 100644
--- a/index.php
+++ b/index.php
@@ -98,6 +98,11 @@ switch ($request) {
require("pages/tutorial.php");
break;
+ case "redirect":
+ $to = $_GET['to'];
+ DoRedirect("<strong>THIS URL COULD BE UNSAFE! Please confirm!</strong><br/>", $to, $duration = "8");
+ break;
+
case "hometutorial":
header("Location: $mydomain"."tutorial");
exit;