[*] 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:
mMarinetti
2011-10-28 10:10:27 +00:00
parent 5e6c8f4b2d
commit beaaef3c0f
3 changed files with 71 additions and 24 deletions
+15
View File
@@ -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()
{
}