aboutsummaryrefslogtreecommitdiffstats
path: root/img_auth.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@users.mediawiki.org>2006-01-14 02:49:43 +0000
committerBrion Vibber <brion@users.mediawiki.org>2006-01-14 02:49:43 +0000
commit266d41f165fe23e85f70f90891f951b0b0bcda7a (patch)
tree1a83e5214ff0a8ca3a6b7c8b2c75f32ab459d4d2 /img_auth.php
parent65dee693e46ee7060aef12b282f260607dee69bf (diff)
downloadmediawikicore-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.php3
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' );