Finish index
This commit is contained in:
+1
-2
@@ -4,7 +4,6 @@ $uri = parse_url($_SERVER['REQUEST_URI'])['path'];
|
||||
|
||||
$routes = [
|
||||
'/' => 'routes/index.php',
|
||||
'/ember' => 'routes/ember.php',
|
||||
];
|
||||
|
||||
function routeToController($uri, $routes)
|
||||
@@ -25,4 +24,4 @@ function abort($code = 404)
|
||||
die(0);
|
||||
}
|
||||
|
||||
routeToController($uri, $routes);
|
||||
routeToController($uri, $routes);
|
||||
|
||||
Reference in New Issue
Block a user