This commit is contained in:
JonatanRek
2020-10-03 21:44:09 +02:00
parent a70caca58d
commit 51f7ce9dbd
3 changed files with 57 additions and 5 deletions

View File

@@ -52,4 +52,7 @@ $router->any('/api/example', 'ExampleApi@example');
$router->any('/example', 'ExampleController@index');
$router->any('/example/subpage', 'ExampleController@subpage');
//module routes
//$router->any('/plugins/spotify/callback', 'Spotify@callback');
$router->run($_SERVER['REQUEST_METHOD'], '/'.(isset($_GET['url']) ? $_GET['url'] : ''));