[*] All : modified run() to use checkAccess in the Controller class
[+] BO : #PSFV-94 - invalid token is now correctly handled. its uses initCursedPage // die2Exception git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9705 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -63,6 +63,16 @@ class FrontControllerCore extends Controller
|
||||
$useSSL = $this->ssl;
|
||||
}
|
||||
|
||||
/**
|
||||
* checkAccess
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function checkAccess()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function init()
|
||||
{
|
||||
/*
|
||||
@@ -358,6 +368,11 @@ class FrontControllerCore extends Controller
|
||||
$this->process();
|
||||
}
|
||||
|
||||
public function initCursedPage()
|
||||
{
|
||||
return $this->displayMaintenancePage();
|
||||
}
|
||||
|
||||
public function process()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user