summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-10 21:03:20 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-12-10 21:03:20 +1100
commitaca7afbf46bc768128204a8ef9dc50dc5377616c (patch)
tree6d39c07230df931d460d0dc98aadedf503160f2f /inc
parentb5a4377e09176c171bd3c233d6a067548fb528ba (diff)
Moved "$mod = false" to user.php
Diffstat (limited to 'inc')
-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);