From 1d888a10d8263dec932a41de7dbb6e81e190a93e Mon Sep 17 00:00:00 2001 From: rMalie Date: Mon, 30 Jan 2012 14:09:56 +0000 Subject: [PATCH] // Fix adminnotfound access right git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12805 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminNotFoundController.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/controllers/admin/AdminNotFoundController.php b/controllers/admin/AdminNotFoundController.php index a010d88af..9193581e4 100644 --- a/controllers/admin/AdminNotFoundController.php +++ b/controllers/admin/AdminNotFoundController.php @@ -2,6 +2,16 @@ class AdminNotFoundControllerCore extends AdminController { + public function checkAccess() + { + return true; + } + + public function viewAccess() + { + return true; + } + public function initContent() { $this->errors[] = Tools::displayError('Controller not found');