* Don't show (last) links for unviewable revisions
[lhc/web/wiklou.git] / redirect.php
index 4718600..ad3400e 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-define( 'MW_NO_SETUP', 1 );
 require_once( './includes/WebStart.php' );
 global $wgArticlePath;
 
@@ -11,4 +10,4 @@ $page = $wgRequest->getVal( 'wpDropdown' );
 $url = str_replace( "$1", urlencode( $page ), $wgArticlePath );
 
 header( "Location: {$url}" );
-?>
+