summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/index.php b/index.php
index 60cd81a..9175b30 100644
--- a/index.php
+++ b/index.php
@@ -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";