From 336e29eb676c229742a3e1c10dd52bbe3aef4ada Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Wed, 25 Sep 2013 18:08:45 +0200 Subject: [PATCH] // Default tab is the dashboard --- classes/Dispatcher.php | 2 +- classes/controller/AdminController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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())