X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=redirect.php;h=626c30d3bccffdc211aabc0e9db93df03aa486c2;hb=3b154e1ed270bcaa6cb11c7895eda6858238f79d;hp=8c370a3e70daed44a65e743eed023b6bc3021664;hpb=8de3b6872ffa3e30145382c6028311829cf07da4;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 8c370a3e70..626c30d3bc 100644 --- a/redirect.php +++ b/redirect.php @@ -2,12 +2,8 @@ require_once( './includes/WebStart.php' ); global $wgArticlePath; -require_once( 'includes/WebRequest.php' ); -$wgRequest = new WebRequest(); - $page = $wgRequest->getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); header( "Location: {$url}" ); -?>