Browse Source

Moved "$mod = false" to user.php

pull/40/head
Savetheinternet 13 years ago
parent
commit
aca7afbf46
  1. 4
      inc/mod.php
  2. 2
      inc/user.php

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

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

Loading…
Cancel
Save