// Retro-compatibility fix of front controllers
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13847 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -96,6 +96,8 @@ class GuestTrackingControllerCore extends FrontController
|
||||
*/
|
||||
public function initContent()
|
||||
{
|
||||
parent::initContent();
|
||||
|
||||
/* Handle brute force attacks */
|
||||
if (count($this->errors))
|
||||
sleep(1);
|
||||
@@ -105,7 +107,6 @@ class GuestTrackingControllerCore extends FrontController
|
||||
'errors' => $this->errors,
|
||||
));
|
||||
$this->setTemplate(_PS_THEME_DIR_.'guest-tracking.tpl');
|
||||
parent::initContent();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user