Changeset 1845
- Timestamp:
- 08/25/06 14:18:23 (2 years ago)
- Files:
-
- tools/pake/trunk/lib/pake/pakeColor.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/pake/trunk/lib/pake/pakeColor.class.php
r1791 r1845 33 33 { 34 34 // disable colors if not supported (windows or non tty console) 35 if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' || ! posix_isatty(STDOUT))35 if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' || !@posix_isatty(STDOUT)) 36 36 { 37 37 return $text;