// Default tab is the dashboard
This commit is contained in:
@@ -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')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user