* @copyright 2007-2016 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class AdminNotFoundControllerCore extends AdminController { public function __construct() { $this->bootstrap = true; parent::__construct(); } public function checkAccess() { return true; } public function viewAccess() { return true; } 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); parent::initContent(); } }