mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
11 lines
253 B
PHP
11 lines
253 B
PHP
<?php
|
|
if($_SERVER['SCRIPT_FILENAME'] == str_replace('\\', '/', __FILE__)) {
|
|
// You cannot request this file directly.
|
|
header('Location: ../', true, 302);
|
|
exit;
|
|
}
|
|
|
|
// 'false' means that the user is not logged in as a moderator
|
|
$mod = false;
|
|
|