diff --git a/system/controllers/default.php b/system/controllers/default.php index 84c83049..a8b03fd3 100644 --- a/system/controllers/default.php +++ b/system/controllers/default.php @@ -5,9 +5,13 @@ **/ if(Admin::getID()){ - r2(getUrl('dashboard')); -}if(User::getID()){ - r2(getUrl('home')); + //r2(getUrl('dashboard')); + $handler = 'dashboard'; +}else if(User::getID()){ + //r2(getUrl('home')); + $handler = 'home'; }else{ - r2(getUrl('login')); + //r2(getUrl('login')); + $handler = 'login'; } +include($root_path . File::pathFixer('system/controllers/' . $handler . '.php')); \ No newline at end of file diff --git a/system/lan/english.json b/system/lan/english.json index 71191695..261d8081 100644 --- a/system/lan/english.json +++ b/system/lan/english.json @@ -1026,5 +1026,6 @@ "Oops__The_page_you_are_looking_for_was_not_found": "Oops! The page you are looking for was not found", "Back_to_Dashboard": "Back to Dashboard", "Continue_the_VPN_creation_process_": "Continue the VPN creation process?", - "VPN": "VPN" + "VPN": "VPN", + "Go_Back": "Go Back" } \ No newline at end of file diff --git a/version.json b/version.json index 00799d3a..1c763928 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "2025.2.5" + "version": "2025.2.7" } \ No newline at end of file