home route

This commit is contained in:
xinatorus 2020-04-21 19:37:56 +02:00
parent ba836c9573
commit 0f49fd951a
1 changed files with 1 additions and 1 deletions

View File

@ -18,4 +18,4 @@ $router->any('/ajax', 'Ajax');
$router->any('/log', 'Log');
$router->any('/rooms', 'Rooms');
$router->run($_SERVER['REQUEST_METHOD'], '/'.$_GET['url']);
$router->run($_SERVER['REQUEST_METHOD'], '/'.(isset($_GET['url']) ? $_GET['url'] : ''));