diff --git a/inf.php b/inf.php index acefebf..65a2683 100644 --- a/inf.php +++ b/inf.php @@ -63,7 +63,7 @@ include_once 'views/presents-list.php'; # Секретный раздел # Если я любой паладин, и смотрю не админа, или я сам админ. -echo sprintf('
secret: %s

%s
', private_access($uid), var_dump(private_access($uid))); +echo sprintf('
session_uid: %s

secret: %s

%s
', $_SESSION['uid'], private_access($uid), var_dump(private_access($uid))); if ((private_access($uid) === MODERATOR_ACCESS && !$user->admin) || private_access($uid) === ADMINISTRATOR_ACCESS) { $ld = db::c()->query('SELECT * FROM users_logs WHERE user_id = ?i ORDER BY `id` ASC', $user->id);