From 7777d7af1733d661a36551a0fdcf27a972e4ef81 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Fri, 4 Mar 2022 07:15:52 +1000 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B3=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B5=20=D0=BC=D0=B0=D1=80?= =?UTF-8?q?=D1=88=D1=80=D1=83=D1=82=D0=B0=20=D1=81=20=D0=BD=D0=B5=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C=D0=BD=D1=8B=D0=BC=20=D1=82?= =?UTF-8?q?=D0=B8=D0=BF=D0=BE=D0=BC=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirzaev/minimal/system/router.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mirzaev/minimal/system/router.php b/mirzaev/minimal/system/router.php index c1fc48f..54102a1 100644 --- a/mirzaev/minimal/system/router.php +++ b/mirzaev/minimal/system/router.php @@ -112,6 +112,11 @@ final class router // Запись маршрута $route = $data[$_SERVER["REQUEST_METHOD"]]; + } else { + // Не найдены настройки для полученного типа запроса + + // Деинициализация + unset($route); } // Выход из цикла