diff --git a/classes/Dispatcher.php b/classes/Dispatcher.php index 7bfaa54ca..f9b114897 100644 --- a/classes/Dispatcher.php +++ b/classes/Dispatcher.php @@ -205,7 +205,7 @@ class DispatcherCore { $this->front_controller = self::FC_ADMIN; $this->controller_not_found = 'adminnotfound'; - $this->default_controller = 'adminhome'; + $this->default_controller = 'admindashboard'; } elseif (Tools::getValue('fc') == 'module') { diff --git a/classes/controller/AdminController.php b/classes/controller/AdminController.php index 182d46109..a58ba31cd 100644 --- a/classes/controller/AdminController.php +++ b/classes/controller/AdminController.php @@ -335,7 +335,7 @@ class AdminControllerCore extends Controller $this->tabAccess = Profile::getProfileAccess($this->context->employee->id_profile, $this->id); // Fix for AdminHome - if ($this->controller_name == 'AdminHome') + if ($this->controller_name == 'AdminDashboard') $_POST['token'] = $this->token; if (!Shop::isFeatureActive())