// Fix adminnotfound access right
This commit is contained in:
@@ -2,6 +2,16 @@
|
|||||||
|
|
||||||
class AdminNotFoundControllerCore extends AdminController
|
class AdminNotFoundControllerCore extends AdminController
|
||||||
{
|
{
|
||||||
|
public function checkAccess()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function viewAccess()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public function initContent()
|
public function initContent()
|
||||||
{
|
{
|
||||||
$this->errors[] = Tools::displayError('Controller not found');
|
$this->errors[] = Tools::displayError('Controller not found');
|
||||||
|
|||||||
Reference in New Issue
Block a user