Moved "$mod = false" to user.php
This commit is contained in:
parent
b5a4377e09
commit
aca7afbf46
@ -1,6 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
// 'false' means that the user is not logged in as a moderator
|
|
||||||
$mod = false;
|
|
||||||
|
|
||||||
// Creates a small random string for validating moderators' cookies
|
// Creates a small random string for validating moderators' cookies
|
||||||
function mkhash($length=12) {
|
function mkhash($length=12) {
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
// 'false' means that the user is not logged in as a moderator
|
||||||
|
$mod = false;
|
||||||
|
|
||||||
// Set the session name.
|
// Set the session name.
|
||||||
session_name(SESS_COOKIE);
|
session_name(SESS_COOKIE);
|
||||||
|
Loading…
Reference in New Issue
Block a user