diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-01-08 01:53:05 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-01-08 01:53:05 -0800 |
commit | 6b8c58ac2d4de502421acef48f4434bee605633f (patch) | |
tree | b6ed4553388d0058952a987734a317ecfaea13f9 /index.php | |
parent | a431308aa3c6c698d23b45bf5e1f905123e0cba5 (diff) | |
download | pathery-6b8c58ac2d4de502421acef48f4434bee605633f.tar.xz |
Challenges Implementation. LOTS of stuff
Fixed an issue with loading best solution from logged out to logged in state.
Commented out a lot of firephp stuff; feel free to uncomment.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,16 @@ <?PHP
ob_start("ob_gzhandler");
+
+//TODO: !! Make sure updating.php exists, and that the images in images/btns/ are uploaded.
+//Show updating page?
+//$showUpdatePage = true;
+$showUpdatePage = false;
+
+if ($showUpdatePage AND $_GET['cu'] !== "true") {
+ require("updating.php");
+ exit;
+}
+
//globe will start the session.
include_once("globe.php");
include_once("./includes/header.php");
@@ -48,6 +59,7 @@ if (isset($_SESSION['isAdmin']) && $_SESSION['isAdmin'] == true) { //Links appear in order.
$Links['home'] = "Home";
$Links['leaderboard'] = "Scores";
+$Links['challengelist'] = "Challenges <i>BETA!</i>";
//$Links['howtoplay'] = "How to Play";
//$Links['tutorial'] = "Tutorial";
|