Changeset 2042
- Timestamp:
- 09/11/06 18:13:40 (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
r1942 r2042 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' || !function_exists('posix_isatty') || !@posix_isatty(STDOUT)) 36 36 { 37 37 return $text;