diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 20:21:25 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 20:21:25 +0000 |
commit | d81f562b712f2387fa02290bf2ca86392ab356f2 (patch) | |
tree | d666cdefbe6ac320827a2c6cb473581b46e22c4c /redirect.php | |
parent | 183851b06bd6c52f3cae5375f433da720d410447 (diff) |
Aktualisierung auf Version 1.8.1
Diffstat (limited to 'redirect.php')
-rw-r--r-- | redirect.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/redirect.php b/redirect.php index c0e8746e..4718600d 100644 --- a/redirect.php +++ b/redirect.php @@ -1,15 +1,6 @@ <?php -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' ); +define( 'MW_NO_SETUP', 1 ); +require_once( './includes/WebStart.php' ); global $wgArticlePath; require_once( 'includes/WebRequest.php' ); |