Moved "$mod = false" to user.php

This commit is contained in:
Savetheinternet 2010-12-10 21:03:20 +11:00
parent b5a4377e09
commit aca7afbf46
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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);