X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWebRequest.php;h=c6ddf81697234fc29f50466737efeecb859fdc21;hb=5dc68aedf45a7b2de6d6c6e736f9014873aa8186;hp=fa8f84d6971306ac5809439e339156921b485e4f;hpb=9b670fb797813a8ed35750e2c83fe953a10f349e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebRequest.php b/includes/WebRequest.php index fa8f84d697..c6ddf81697 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -141,7 +141,7 @@ class WebRequest { $router->add( "$wgScript/$1" ); if ( isset( $_SERVER['SCRIPT_NAME'] ) - && preg_match( '/\.php5?/', $_SERVER['SCRIPT_NAME'] ) + && preg_match( '/\.php/', $_SERVER['SCRIPT_NAME'] ) ) { # Check for SCRIPT_NAME, we handle index.php explicitly # But we do have some other .php files such as img_auth.php