diff options
author | Brion Vibber <brion@users.mediawiki.org> | 2006-01-14 02:49:43 +0000 |
---|---|---|
committer | Brion Vibber <brion@users.mediawiki.org> | 2006-01-14 02:49:43 +0000 |
commit | 266d41f165fe23e85f70f90891f951b0b0bcda7a (patch) | |
tree | 1a83e5214ff0a8ca3a6b7c8b2c75f32ab459d4d2 /img_auth.php | |
parent | 65dee693e46ee7060aef12b282f260607dee69bf (diff) | |
download | mediawikicore-266d41f165fe23e85f70f90891f951b0b0bcda7a.tar.gz mediawikicore-266d41f165fe23e85f70f90891f951b0b0bcda7a.zip |
* Added wfDie() wrapper, and some manual die(-1), to force the return code
to the shell to return nonzero when we crap out with an error.
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12660
Diffstat (limited to 'img_auth.php')
-rw-r--r-- | img_auth.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/img_auth.php b/img_auth.php index 864b0560cd41..fb58ba282335 100644 --- a/img_auth.php +++ b/img_auth.php @@ -11,7 +11,8 @@ define( 'MEDIAWIKI', true ); if ( isset( $_REQUEST['GLOBALS'] ) ) { - die( '<a href="http://www.hardened-php.net/index.76.html">$GLOBALS overwrite vulnerability</a>'); + echo '<a href="http://www.hardened-php.net/index.76.html">$GLOBALS overwrite vulnerability</a>'; + die( -1 ); } require_once( 'includes/Defines.php' ); |