CS
This commit is contained in:
parent
0d6e609448
commit
f53dee8581
@ -5,10 +5,10 @@ class AuthController extends AuthControllerCore
|
||||
{
|
||||
// We can't run parent::preProcess() here since it would run the authentication process
|
||||
|
||||
if(!isset($this->php_self)) {
|
||||
if (!isset($this->php_self)) {
|
||||
$this->php_self = strtolower(basename($_SERVER['PHP_SELF']));
|
||||
}
|
||||
if($this->php_self == '404.php') {
|
||||
if ($this->php_self == '404.php') {
|
||||
$page_name = 'page-404';
|
||||
} else {
|
||||
if(preg_match('#^'.__PS_BASE_URI__.'modules/([a-zA-Z0-9_-]+?)/([^?]*)(\?(.*))?$#', strtolower($_SERVER['REQUEST_URI']), $m)) {
|
||||
|
Loading…
Reference in New Issue
Block a user