[+] BO : #PSFV-94 : new class AdminNotFoundControllerCore

This commit is contained in:
mMarinetti
2011-10-31 10:36:17 +00:00
parent 01f88ad0d7
commit 15580f06a5
2 changed files with 18 additions and 0 deletions
@@ -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();
}
}