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 "Add help text to "partial" and "sitewide" options on Special:Block"
[lhc/web/wiklou.git]
/
maintenance
/
eval.php
diff --git
a/maintenance/eval.php
b/maintenance/eval.php
index
40d29ef
..
f0d7fbf
100644
(file)
--- a/
maintenance/eval.php
+++ b/
maintenance/eval.php
@@
-77,8
+77,8
@@
while ( ( $__line = Maintenance::readconsole() ) !== false ) {
try {
$__val = eval( $__line . ";" );
} catch ( Exception $__e ) {
try {
$__val = eval( $__line . ";" );
} catch ( Exception $__e ) {
-
echo
"Caught exception " . get_class( $__e ) .
- ": {$__e->getMessage()}\n" . $__e->getTraceAsString() . "\n";
+
fwrite( STDERR,
"Caught exception " . get_class( $__e ) .
+ ": {$__e->getMessage()}\n" . $__e->getTraceAsString() . "\n"
)
;
continue;
}
if ( wfIsHHVM() || is_null( $__val ) ) {
continue;
}
if ( wfIsHHVM() || is_null( $__val ) ) {