From b0280b27b1586a4a4abeef0d8a8da1ff9448835c Mon Sep 17 00:00:00 2001 From: dogmatic69 Date: Sat, 16 Feb 2013 16:28:56 +0000 Subject: [PATCH] adding new lines for cli --- lib/Cake/basics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php index 83450704a..8691205db 100644 --- a/lib/Cake/basics.php +++ b/lib/Cake/basics.php @@ -241,7 +241,7 @@ if (!function_exists('pr')) { */ function pr($var) { if (Configure::read('debug') > 0) { - $template = php_sapi_name() !== 'cli' ? '
%s
' : '%s'; + $template = php_sapi_name() !== 'cli' ? '
%s
' : "\n%s\n"; echo sprintf($template, print_r($var, true)); } }