Moved "$mod = false" to user.php
This commit is contained in:
parent
b5a4377e09
commit
aca7afbf46
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user