summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.php b/index.php
index 63b23cf..6667f6f 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,10 @@
<?PHP
ob_start("ob_gzhandler");
-//TODO: !! Make sure updating.php exists, and that the images in images/btns/ are uploaded.
+//Start session
+if (!session_id()) session_start();
+//session_regenerate_id();
+
//Show updating page?
//$showUpdatePage = true;
$showUpdatePage = false;
@@ -11,7 +14,6 @@ if ($showUpdatePage AND $_GET['cu'] !== "true") {
exit;
}
-//globe will start the session.
include_once("globe.php");
include_once("./includes/header.php");