Файл: pages/admin/admin-pass.php
Строк: 15
<?php
/* Отдельный пароль админки удалён: доступ определяется ролью аккаунта. v50.7 */
if (!defined('GAME_ROOT')) define('GAME_ROOT', dirname(__DIR__, 2));
chdir(GAME_ROOT);
require_once './system/common.php';
require_once './system/functions.php';
require_once './system/user.php';
if(!$user){header('Location:/');exit;}
if((int)($user['access']??0)<1){http_response_code(403);$title='Нет доступа';require './system/h.php';echo '<div class="block center red">Недостаточно прав для административного раздела.</div>';require './system/f.php';exit;}
header('Location:/adm/');exit;