summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
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";