1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 09:20:58 +01:00
vichan/inc/user.php

11 lines
253 B
PHP
Raw Normal View History

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