Merge pull request #375 from skipperbent/v3

V3
This commit is contained in:
Simon Sessingø
2018-02-27 00:14:39 +01:00
committed by GitHub
+5
View File
@@ -48,6 +48,11 @@ class SimpleRouter
*/
public static function start()
{
// Stop processing routes if no valid route is found.
if(static::request()->getUrl()->getPath() === null) {
return;
}
echo static::router()->routeRequest();
}