summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_debug.class5
1 files changed, 1 insertions, 4 deletions
diff --git a/it_debug.class b/it_debug.class
index 672e0f5..c558f52 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -83,10 +83,7 @@ function dump($args)
if (preg_match('/csv|txt|gif|jpg/', $_SERVER['PHP_SELF']) || preg_grep('#text/(calendar|css|javascript|json|plain|rfc822|xml)#', headers_list()))
$plain = 1;
else if ($_SERVER['REMOTE_ADDR'])
- {
- $blue = "<span style='color:#00c'>";
- $noblue = "</span>";
- }
+ list($blue, $noblue) = array("<span style='color:#00c'>", "</span>");
else if (posix_isatty(STDOUT))
list($blue, $noblue, $red, $nored) = getenv('IT_ED_BRIGHT') ? array("\033[34m", "\033[m", "\033[33m", "\033[m") : array("\033[34m", "\033[m", "\033[31m", "\033[m");