Skip to content
Snippets Groups Projects
Commit 1c2f91fd authored by moonawar's avatar moonawar
Browse files

default homepage

parent fc1a5890
Branches
Tags
No related merge requests found
...@@ -22,8 +22,7 @@ class Main { ...@@ -22,8 +22,7 @@ class Main {
$controllerClass = $controllerPart . 'Controller'; $controllerClass = $controllerPart . 'Controller';
$this->controller = new $controllerClass(); $this->controller = new $controllerClass();
}else{ }else{
require_once __DIR__ . '/../controllers/NotFoundController.php'; header('Location: /book/');
$this->controller = new NotFoundController();
} }
unset($url[0]); unset($url[0]);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment