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/drivers/Cache/Sqlite.php

    r3160 r3168  
    4343 
    4444                // Make sure the cache database is writable 
    45                 if (file_exists($filename) AND ! is_writable($filename)) 
     45                if (is_file($filename) AND ! is_writable($filename)) 
    4646                        throw new Kohana_Exception('cache.unwritable', $filename); 
    4747