From: Alexandre Emsenhuber Date: Mon, 19 Mar 2012 20:52:59 +0000 (+0000) Subject: Make the first line of debug log more consitent between CLI and web call by putting... X-Git-Tag: 1.31.0-rc.0~24193 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=15a4786f2f79e6a83bb1164d9975d6774ab6300f;p=lhc%2Fweb%2Fwiklou.git Make the first line of debug log more consitent between CLI and web call by putting the method and the URL directly on the first line --- diff --git a/includes/Setup.php b/includes/Setup.php index d0ce209975..2777f73296 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -421,7 +421,7 @@ if ( $wgCommandLineMode ) { # Can't stub this one, it sets up $_GET and $_REQUEST in its constructor $wgRequest = new WebRequest; - $debug = "\n\nStart request\n{$_SERVER['REQUEST_METHOD']} {$wgRequest->getRequestURL()}\n"; + $debug = "\n\nStart request {$_SERVER['REQUEST_METHOD']} {$wgRequest->getRequestURL()}\n"; if ( $wgDebugPrintHttpHeaders ) { $debug .= "HTTP HEADERS:\n";