summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-01-25 01:42:46 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-01-25 01:42:46 -0800
commitfed89ebc174dda0963856f992f6f9a26bbe1b182 (patch)
tree581f349de81bafc60daa1730bd76f85293f8a3de
parentae5c6c5800f39ef169986e59e69b43241ccf3902 (diff)
downloadpathery-fed89ebc174dda0963856f992f6f9a26bbe1b182.tar.xz
URL re-write for tutorial, instead of showing different things@ pathery.com/
-rw-r--r--index.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/index.php b/index.php
index 34048b9..562b59b 100644
--- a/index.php
+++ b/index.php
@@ -92,9 +92,14 @@ if ($request == '' && !$accepted)
$request = 'hometutorial';
switch ($request) {
- case "tutorial": case "hometutorial":
+ case "tutorial":
require("pages/tutorial.php");
break;
+
+ case "hometutorial":
+ header("Location: $mydomain"."tutorial");
+ exit;
+ break;
case "test":
require("pages/test.php");