From 2db9a2b3e5e2c8d287af8fa1339d16934f4a6d8f Mon Sep 17 00:00:00 2001 From: lopar Date: Sun, 5 Jul 2020 20:41:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=B5=D0=B1=D0=B0=D0=B3=20=D0=BB=D0=B8?= =?UTF-8?q?=D1=87=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=B4=D0=B5=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inf.php b/inf.php index 65a2683..a01d440 100644 --- a/inf.php +++ b/inf.php @@ -63,7 +63,7 @@ include_once 'views/presents-list.php'; # Секретный раздел # Если я любой паладин, и смотрю не админа, или я сам админ. -echo sprintf('
session_uid: %s

secret: %s

%s
', $_SESSION['uid'], private_access($uid), var_dump(private_access($uid))); +echo sprintf('
uid: %s

secret: %s

%s
', $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);