X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=redirect.php;h=626c30d3bccffdc211aabc0e9db93df03aa486c2;hb=8ce41bf5f5e1ccfd98ccb37bc6561560fb3f28c5;hp=7c7aa3b165570c76b09fc0c2c42d65b95a2de56b;hpb=239ba392618f751fd5d74da57dcf77cd9a6449a2;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 7c7aa3b165..626c30d3bc 100644 --- a/redirect.php +++ b/redirect.php @@ -1,22 +1,9 @@ $GLOBALS overwrite vulnerability'); -} - -require_once( './includes/Defines.php' ); -require_once( './LocalSettings.php' ); +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}" ); -?>