// Some fix on canonical URL + remove PS_HOMEPAGE_PHP_SELF configuration

This commit is contained in:
rMalie
2011-08-02 14:24:28 +00:00
parent 5c849dfa6d
commit c3ac9dffa7
30 changed files with 39 additions and 40 deletions
+2 -2
View File
@@ -28,7 +28,7 @@
class AuthControllerCore extends FrontController
{
public $ssl = true;
public $php_self = 'authentication.php';
public $php_self = 'authentication';
public function preProcess()
{
@@ -196,7 +196,7 @@ class AuthControllerCore extends FrontController
die(Tools::jsonEncode($return));
}
if ($back = Tools::getValue('back'))
Tools::redirect($back);
Tools::redirect('index.php?controller='.$back);
Tools::redirect('index.php?controller=my-account');
}
}