// This Controller needs a toolbar and a title
This commit is contained in:
@@ -26,6 +26,13 @@
|
||||
|
||||
class AdminNotFoundControllerCore extends AdminController
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->bootstrap = true;
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function checkAccess()
|
||||
{
|
||||
return true;
|
||||
@@ -38,6 +45,7 @@ class AdminNotFoundControllerCore extends AdminController
|
||||
|
||||
public function initContent()
|
||||
{
|
||||
|
||||
$this->errors[] = Tools::displayError('Controller not found');
|
||||
$tpl_vars['controller'] = Tools::getvalue('controllerUri', Tools::getvalue('controller'));
|
||||
$this->context->smarty->assign($tpl_vars);
|
||||
|
||||
Reference in New Issue
Block a user