Show
Ignore:
Timestamp:
07/20/2008 08:34:36 PM (4 months ago)
Author:
Shadowhand
Message:

Replacing file_exists calls with is_file and is_dir, where possible.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/helpers/file.php

    r3160 r3168  
    3636        { 
    3737                // Make sure the file is readable 
    38                 if ( ! file_exists($filename) OR ! is_file($filename) OR ! is_readable($filename)) 
     38                if ( ! (is_file($filename) AND is_readable($filename))) 
    3939                        return FALSE; 
    4040