// Fix adminnotfound access right
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12805 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user