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
Revert r104659 and its followup r104665: break the unit tests with a fatal error...
[lhc/web/wiklou.git]
/
includes
/
Exception.php
diff --git
a/includes/Exception.php
b/includes/Exception.php
index
8c4e0a7
..
08a63ee
100644
(file)
--- a/
includes/Exception.php
+++ b/
includes/Exception.php
@@
-181,6
+181,7
@@
class MWException extends Exception {
$wgOut->output();
} else {
+ header( "Content-Type: text/html; charset=utf-8" );
$hookResult = $this->runHooks( get_class( $this ) . "Raw" );
if ( $hookResult ) {
die( $hookResult );