summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/mod.php4
-rw-r--r--inc/user.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/inc/mod.php b/inc/mod.php
index bf2227f1..92d6de09 100644
--- a/inc/mod.php
+++ b/inc/mod.php
@@ -1,7 +1,5 @@
<?php
- // 'false' means that the user is not logged in as a moderator
- $mod = false;
-
+
// Creates a small random string for validating moderators' cookies
function mkhash($length=12) {
// The method here isn't really important,
diff --git a/inc/user.php b/inc/user.php
index 126777bd..6470d2ff 100644
--- a/inc/user.php
+++ b/inc/user.php
@@ -1,4 +1,6 @@
<?php
+ // 'false' means that the user is not logged in as a moderator
+ $mod = false;
// Set the session name.
session_name(SESS_COOKIE);