From a893aa6b5ab0e7f236a8ca35c7bcb87e05481b3f Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Mon, 16 Dec 2024 22:42:08 +0700 Subject: [PATCH] $minimal to $core --- author/project/system/controllers/core.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/author/project/system/controllers/core.php b/author/project/system/controllers/core.php index bd1a181..9cd9ec0 100755 --- a/author/project/system/controllers/core.php +++ b/author/project/system/controllers/core.php @@ -72,18 +72,18 @@ class core extends controller /** * Constructor * - * @param minimal $$minimal Instance of the MINIMAL + * @param minimal $$core Instance of the MINIMAL * @param bool $$initialize Initialize a controller? * * @return void */ - public function __construct(minimal $$minimal, bool $$initialize = true) + public function __construct(minimal $$core, bool $$initialize = true) { // 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; // For the extends system - parent::__construct(core: $$minimal); + parent::__construct(core: $$core); if ($$initialize) { // Requestet initializing