generated from mirzaev/pot
	created + added prikol
This commit is contained in:
		@@ -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);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@@ -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
		Reference in New Issue
	
	Block a user