created + added prikol

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-04-10 19:15:30 +03:00
parent b395a10d28
commit 8e5c5647d5
138 changed files with 28 additions and 2 deletions

View File

@ -74,6 +74,9 @@ class core extends controller
// Blocking requests from CloudFlare (better to write this blocking into nginx config file) // 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; 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();
// For the extends system // For the extends system
parent::__construct(core: $core); parent::__construct(core: $core);
} }

View File

@ -46,7 +46,7 @@ final class index extends core
// Request for any response // Request for any response
// Render page // Render page
$page = $this->view->render('index.html'); $page = $this->view->render('prikol/page.html');
// Sending response // Sending response
$this->response $this->response

Some files were not shown because too many files have changed in this diff Show More