Commit 24863704 authored by Lukáš Bachleda's avatar Lukáš Bachleda

Router

parent 30211ade
Pipeline #21904 canceled with stages
...@@ -10,4 +10,7 @@ function autoLoaderEngine($class) ...@@ -10,4 +10,7 @@ function autoLoaderEngine($class)
require("models/" . $class . ".php"); require("models/" . $class . ".php");
} }
spl_autoload_register("autoLoaderEngine"); spl_autoload_register("autoLoaderEngine");
\ No newline at end of file
$router = new RouterKontroler();
$router->process(array($_SERVER['REQUEST_URI']));
\ No newline at end of file
Markdown is supported
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