From 4336274430b51de8b0674b17030b8289e7a451d7 Mon Sep 17 00:00:00 2001 From: Alexandre Rosenfeld Date: Thu, 20 Jan 2011 19:53:16 +0000 Subject: [PATCH] Fix cron output in Windows (no colors). --- gulliver/system/class.g.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index bf2423b73..495b923d6 100644 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -3130,7 +3130,7 @@ function eprintln($s="", $c=null){ } else echo "
$s
"; } else { - if(isset($c)){ + if(isset($c) && (PHP_OS != 'WINNT')){ switch($c){ case 'green': printf("\033[0;35;32m$s\033[0m\n");