Changeset 2990
- Timestamp:
- 12/09/06 12:10:59 (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
r2382 r2990 33 33 { 34 34 // disable colors if not supported (windows or non tty console) 35 if ( strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' || !function_exists('posix_isatty') || !@posix_isatty($stream))35 if (DIRECTORY_SEPARATOR == '\\' || !function_exists('posix_isatty') || !@posix_isatty($stream)) 36 36 { 37 37 return $text;