summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-04-21 13:46:46 -0700
committerPatrick Davison <snapwilliam@gmail.com>2012-04-21 13:46:46 -0700
commit73c7ff257800efa0300579ca9b17c7319af819e0 (patch)
tree21c8224ac416f96a2c65d210e79af4a0f38172bb /index.php
parentf03c9a928b9019c4b7947a9b087134ead88e7655 (diff)
downloadpathery-73c7ff257800efa0300579ca9b17c7319af819e0.tar.xz
tutorial-on-homepage stuff
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.php b/index.php
index 3167ffb..7144d63 100644
--- a/index.php
+++ b/index.php
@@ -24,7 +24,11 @@ if ($_SESSION['isAdmin'] == true) {
$Links['faq'] = "FAQ";
$Links['about'] = "About Us";
-switch (strtolower($_GET[page])) {
+$request = strtolower($_GET[page]);
+if ($request == '' AND $_SESSION['accepted'] <> 1)
+ $request = 'tutorial';
+
+switch ($request) {
case "test":
require("pages/test.php");