V1.3.2 released: Guest Checkout, New Designed Checkout Page, Custom CMS Link, Data cleaner Module
This commit is contained in:
@@ -45,6 +45,11 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
// redirect to admin dashboard as no entry allowed in category controller. It will be managed solely from
|
||||
// hotel creation , updation and deletion
|
||||
$this->context = Context::getContext();
|
||||
Tools::redirectAdmin($this->context->link->getAdminLink('AdminDashboard'));
|
||||
|
||||
$this->bootstrap = true;
|
||||
$this->table = 'category';
|
||||
$this->className = 'Category';
|
||||
@@ -54,8 +59,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
$this->_defaultOrderBy = 'position';
|
||||
$this->allow_export = true;
|
||||
|
||||
$this->context = Context::getContext();
|
||||
|
||||
$this->fieldImageSettings = array(
|
||||
'name' => 'image',
|
||||
'dir' => 'c'
|
||||
|
||||
Reference in New Issue
Block a user