dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "document CASE (0th array element) for $magicWords"
[lhc/web/wiklou.git]
/
includes
/
Exception.php
diff --git
a/includes/Exception.php
b/includes/Exception.php
index
9c472bf
..
9f6d5bd
100644
(file)
--- a/
includes/Exception.php
+++ b/
includes/Exception.php
@@
-246,6
+246,9
@@
class MWException extends Exception {
} elseif ( self::isCommandLine() ) {
MWExceptionHandler::printError( $this->getText() );
} else {
+ header( "HTTP/1.1 500 MediaWiki exception" );
+ header( "Status: 500 MediaWiki exception", true );
+
$this->reportHTML();
}
}