Development

Changeset 1845

You must first sign up to be able to contribute.

Changeset 1845

Show
Ignore:
Timestamp:
08/25/06 14:18:23 (2 years ago)
Author:
fabien
Message:

removed a warning in pakeColor

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/pake/trunk/lib/pake/pakeColor.class.php

    r1791 r1845  
    3333  { 
    3434    // 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)) 
    3636    { 
    3737      return $text;