dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73838c6
)
Don't spew error messages everywhere when the debug log file isn't writable.
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 30 Apr 2005 11:15:52 +0000
(11:15 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 30 Apr 2005 11:15:52 +0000
(11:15 +0000)
Damn that's annoying.
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
59be121
..
769d057
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-264,7
+264,7
@@
function wfDebug( $text, $logonly = false ) {
$wgOut->debug( $text );
}
if ( '' != $wgDebugLogFile && !$wgProfileOnly ) {
- error_log( $text, 3, $wgDebugLogFile );
+
@
error_log( $text, 3, $wgDebugLogFile );
}
}