Archived
new project structure
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
$router = new Router();
|
||||
|
||||
$router->setDefault(function(){
|
||||
echo '404';
|
||||
});
|
||||
|
||||
$router->run($_SERVER['REQUEST_METHOD'], '/'.$_GET['url']);
|
||||
Reference in New Issue
Block a user