From 73c7ff257800efa0300579ca9b17c7319af819e0 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 21 Apr 2012 13:46:46 -0700 Subject: tutorial-on-homepage stuff --- index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'index.php') 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"); -- cgit v1.2.3