[+] BO : #PSFV-94 : new class AdminNotFoundControllerCore
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
class AdminNotFoundControllerCore extends AdminController
|
||||
{
|
||||
public function initContent()
|
||||
{
|
||||
$this->_errors[] = Tools::displayError('Controller not found');
|
||||
$tpl_vars['controller'] = Tools::getvalue('controller');
|
||||
|
||||
$this->context->smarty->assign($tpl_vars);
|
||||
parent::initContent();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user