From a320d2bc212dde644d9ee30fc19d81ab0055932b Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Tue, 19 Apr 2022 00:17:24 +0300 Subject: [PATCH] test --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.php b/index.php index 229ba15..a31ccf1 100644 --- a/index.php +++ b/index.php @@ -13,14 +13,13 @@ //$userId = User::registration('test', '12345', 'support@it-stories.ru', 'user', 'Тестировщик', 'http://samag.ru/uploads/5222447.png'); - /*$user = new User($userId);*/ $userId = User::getCurrentUserId(); try { $user = new User($userId); User::authorize((int)$userId); - echo $userId; + echo 'Current user id: ' . $userId . '
'; } catch (CoreException $e) { echo $e->showTrace(); }