From d14f0cece42db804a83b8a1685f735ac86e68680 Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Tue, 28 May 2013 11:57:59 +0000 Subject: [PATCH] debug() in CLI should include newline.. If not, two debug() statements after each other is very hard to read, as the #### separater is on the same line --- lib/Cake/basics.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php index a3a5fe38f0b..984b644484d 100644 --- a/lib/Cake/basics.php +++ b/lib/Cake/basics.php @@ -95,6 +95,7 @@ function debug($var, $showHtml = null, $showFrom = true) { ########## DEBUG ########## %s ########################### + TEXT; $template = $html; if (php_sapi_name() === 'cli' || $showHtml === false) { @@ -231,8 +232,8 @@ function pluginSplit($name, $dotAppend = false, $plugin = null) { /** * print_r() convenience function - * - * In terminals this will act the same as using print_r() directly, when not run on cli + * + * In terminals this will act the same as using print_r() directly, when not run on cli * print_r() will wrap
 tags around the output of given array. Similar to debug().
  *
  * @see	debug()