// Fix adminnotfound access right
This commit is contained in:
1 parent
ea652b8b1d
commit
13c8f2f090
1 file changed
+10
@@ -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