Experimental callback-based template processor, including MonoBook port.
[lhc/web/wiklou.git] / redirect.php
index 23db327..c0e8746 100644 (file)
@@ -3,7 +3,12 @@ unset( $DP );
 unset( $IP );
 $wgCommandLineMode = false;
 define( 'MEDIAWIKI', true );
+if ( isset( $_REQUEST['GLOBALS'] ) ) {
+       echo '<a href="http://www.hardened-php.net/index.76.html">$GLOBALS overwrite vulnerability</a>';
+       die( -1 );
+}
 
+require_once( './includes/Defines.php' );
 require_once( './LocalSettings.php' );
 global $wgArticlePath;