diff --git a/system/api.php b/system/api.php index d923e73d..cbcccf9e 100644 --- a/system/api.php +++ b/system/api.php @@ -46,9 +46,6 @@ $req = _get('r'); $token = _get('token'); $routes = explode('/', $req); $handler = $routes[0]; -if ($handler == '') { - $handler = 'default'; -} if(empty($token)){ showResult(false, Lang::T("Token is invalid")); diff --git a/ui/ui/router-error.tpl b/ui/ui/router-error.tpl index 344c0a46..f796a755 100644 --- a/ui/ui/router-error.tpl +++ b/ui/ui/router-error.tpl @@ -47,6 +47,13 @@
{$error_message}
+ Mikrotik troubleshooting:
+