From 1a05a0413d6984c8c872eed4abbe28eb42c0f019 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Thu, 10 Apr 2025 22:33:05 +0700 Subject: [PATCH] returned templater --- author/project/system/controllers/core.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/author/project/system/controllers/core.php b/author/project/system/controllers/core.php index 56eb645..2f4ffca 100755 --- a/author/project/system/controllers/core.php +++ b/author/project/system/controllers/core.php @@ -74,6 +74,9 @@ class core extends controller // Blocking requests from CloudFlare (better to write this blocking into nginx config file) if (isset($$_SERVER['HTTP_USER_AGENT']) && $$_SERVER['HTTP_USER_AGENT'] === 'nginx-ssl early hints') return status::bruh->label; + // Initializing the view template engine instance + $$this->view = new templater($$this->session); + // For the extends system parent::__construct(core: $$core); }