From a3793afb22f3dc907b316cfd33d79b50bb2a2ad2 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 11 Nov 2007 22:43:30 +0000 Subject: [PATCH] formatting for CLI git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44597 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/i18n.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/i18n.php b/core/i18n.php index df2f75f50..612452a1f 100755 --- a/core/i18n.php +++ b/core/i18n.php @@ -1273,7 +1273,11 @@ class i18n extends Controller { user_error("You must be an admin or use CLI-mode to enable text collector", E_USER_ERROR); } - echo "Collecting text...

"; + if(Director::is_cli()) { + echo "Collecting text...\n"; + } else { + echo "Collecting text...

"; + } //Calculate base directory $baseDir = Director::baseFolder();