From 15a4786f2f79e6a83bb1164d9975d6774ab6300f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 19 Mar 2012 20:52:59 +0000 Subject: [PATCH] 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 --- includes/Setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.20.1