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/libraries/Image.php

    r3160 r3168  
    7272 
    7373                // Check to make sure the image exists 
    74                 if ( ! file_exists($image)) 
     74                if ( ! is_file($image)) 
    7575                        throw new Kohana_Exception('image.file_not_found', $image); 
    7676