1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-10 21:41:45 +01:00
vichan/inc/user.php

11 lines
253 B
PHP
Raw Normal View History

2010-11-02 21:57:33 +11:00
<?php
2011-04-13 22:21:07 +10:00
if($_SERVER['SCRIPT_FILENAME'] == str_replace('\\', '/', __FILE__)) {
// You cannot request this file directly.
header('Location: ../', true, 302);
exit;
}
2010-12-10 21:03:20 +11:00
// 'false' means that the user is not logged in as a moderator
$mod = false;
2010-11-02 21:57:33 +11:00