This commit is contained in:
jonatanrek committed 2020-10-03 21:44:09 +02:00
1 parent a70caca58d
commit 51f7ce9dbd
3 files changed
+57 -5

No files matched your search

+3
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'] : ''));