mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
new project structure
This commit is contained in:
1 parent
dec5a9083a
commit
74c6426500
9 files changed
+151
-2
No files matched your search
@@ -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