summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-08-18 00:24:27 -0700
committerPatrick Davison <snapwilliam@gmail.com>2012-08-18 00:24:27 -0700
commit748a984d7e914d2211175d95e564c6f56e566f6e (patch)
tree7492677d3563b2b62bc585ea0cbfab016e61ed09 /index.php
parenta160d8b5a9b4c82bf886275ac0e751fa66815db0 (diff)
downloadpathery-748a984d7e914d2211175d95e564c6f56e566f6e.tar.xz
Bugs, timezone.
This server should remain using the New_York timezone. Maps start at 9, not 12! Fixed a bug where default displaycolor was not being used. Fixed a bug where the user would not be logged in instantly.
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index dc0fe81..2046aa7 100644
--- a/index.php
+++ b/index.php
@@ -5,6 +5,10 @@ include_once("./includes/header.php");
if (!$accepted)
if (isset($_COOKIE['doLogin']) && $_COOKIE['doLogin'] == 'yes')
CookieLogin();
+
+
+if (isset($_SESSION['accepted']) AND $_SESSION['accepted'] == 1)
+ $accepted = true;
//Links appear in order.
$Links['home'] = "Home";