generated from mirzaev/pot
created + added prikol
This commit is contained in:
parent
b395a10d28
commit
8e5c5647d5
|
@ -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);
|
||||
}
|
|
@ -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
Loading…
Reference in New Issue