X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=redirect.php;h=23db3271244aabe724645257beaa9f271de557f0;hb=04aa85dbb2cd17075a862ef376077c73030fc4f1;hp=f84d88217081a37ea591839b38e37054db98c591;hpb=6a87ccc06a40a5c0b127567340f205854e0a56f9;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index f84d882170..23db327124 100644 --- a/redirect.php +++ b/redirect.php @@ -2,15 +2,15 @@ unset( $DP ); unset( $IP ); $wgCommandLineMode = false; -define( "MEDIAWIKI", true ); +define( 'MEDIAWIKI', true ); -require_once( "./LocalSettings.php" ); +require_once( './LocalSettings.php' ); global $wgArticlePath; -require_once( "includes/WebRequest.php" ); +require_once( 'includes/WebRequest.php' ); $wgRequest = new WebRequest(); -$page = $wgRequest->getVal( "wpDropdown" ); +$page = $wgRequest->getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath );