From: Tim Starling Date: Sun, 21 Sep 2008 08:10:48 +0000 (+0000) Subject: Debugging code left in, probably needs an option of some kind. X-Git-Tag: 1.31.0-rc.0~45185 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=45308adee286f1bb5bf17c604cfbf18a4399de3d;p=lhc%2Fweb%2Fwiklou.git Debugging code left in, probably needs an option of some kind. --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 83cf368fa6..0bd77eabda 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2510,12 +2510,12 @@ border=\"0\" ALT=\"Google\"> $text = str_replace( '$1', $this->error, $noconnect ); - global $wgShowExceptionDetails; + /* if ( $GLOBALS['wgShowExceptionDetails'] ) { $text .= '

Backtrace:

' . nl2br( htmlspecialchars( $this->getTraceAsString() ) ) . "

\n"; - } + }*/ if($wgUseFileCache) { if($wgTitle) {