Будь проклят тот день, когда я решил ввести неймспейсы...
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ if (empty($_SESSION['uid'])) {
|
||||
}
|
||||
|
||||
require_once "config.php";
|
||||
$user = new User($_SESSION['uid']);
|
||||
$user = new \Battles\User($_SESSION['uid']);
|
||||
|
||||
if ($user->room != 650) {
|
||||
header("Location: main.php");
|
||||
@@ -26,7 +26,7 @@ if ($_GET['id'] && $user->admin) {
|
||||
header("location: city.php");
|
||||
exit;
|
||||
}
|
||||
Template::header('Клановый перекрёсток');
|
||||
\Battles\Template::header('Клановый перекрёсток');
|
||||
?>
|
||||
<a href="/city.php?strah=1">← назад</a>
|
||||
<h1>Переход к клановым улицам</h1>
|
||||
|
||||
Reference in New Issue
Block a user