From c6086c615f99b1cd99fa1a7103a64d2d8a7c9e9f Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Mon, 26 Feb 2024 15:02:36 +0700 Subject: [PATCH] Error Info --- system/api.php | 3 --- ui/ui/router-error.tpl | 7 +++++++ 2 files changed, 7 insertions(+), 3 deletions(-) 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:
+