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)
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
parent::__construct(core: $core);
}

View File

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

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