// Default tab is the dashboard

This commit is contained in:
Damien Metzger
2013-09-25 18:08:56 +02:00
parent 8cc892ecce
commit 336e29eb67
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ class DispatcherCore
{ {
$this->front_controller = self::FC_ADMIN; $this->front_controller = self::FC_ADMIN;
$this->controller_not_found = 'adminnotfound'; $this->controller_not_found = 'adminnotfound';
$this->default_controller = 'adminhome'; $this->default_controller = 'admindashboard';
} }
elseif (Tools::getValue('fc') == 'module') elseif (Tools::getValue('fc') == 'module')
{ {
+1 -1
View File
@@ -335,7 +335,7 @@ class AdminControllerCore extends Controller
$this->tabAccess = Profile::getProfileAccess($this->context->employee->id_profile, $this->id); $this->tabAccess = Profile::getProfileAccess($this->context->employee->id_profile, $this->id);
// Fix for AdminHome // Fix for AdminHome
if ($this->controller_name == 'AdminHome') if ($this->controller_name == 'AdminDashboard')
$_POST['token'] = $this->token; $_POST['token'] = $this->token;
if (!Shop::isFeatureActive()) if (!Shop::isFeatureActive())