From 9978f6d85125fa8c5f64baea8931d68fdb60fbf3 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Fri, 22 Apr 2022 17:16:28 +0300 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B5=D1=81=D1=82=20=D0=BB=D0=BE=D0=B3?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B2=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index 711e823..6b075f4 100644 --- a/index.php +++ b/index.php @@ -12,6 +12,9 @@ Telegram::init('5232660453:AAGfMWu6EcRfBGSSURJsEEvGPmAqhCyzYHU', './'); //$userId = User::registration('test', '12345', 'support@it-stories.ru', 'user', 'Тестировщик', 'http://samag.ru/uploads/5222447.png'); + if (isset($_REQUEST['log']) && $_REQUEST['log'] === CODE_VALUE_Y) { + Log::logToFile('Тестовое сообщение в лог', 'test.log', $_REQUEST); + } /*$user = new User($userId);*/