Changeset 3168 for trunk/modules/archive/libraries/Archive.php
- Timestamp:
- 07/20/2008 08:34:36 PM (4 months ago)
- Files:
-
- 1 modified
-
trunk/modules/archive/libraries/Archive.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/archive/libraries/Archive.php
r3163 r3168 62 62 empty($name) and $name = $path; 63 63 64 if ( file_exists($path) ANDis_dir($path))64 if (is_dir($path)) 65 65 { 66 66 // Force directories to end with a slash … … 109 109 throw new Kohana_Exception('archive.directory_unwritable', $directory); 110 110 111 if ( file_exists($filename))111 if (is_file($filename)) 112 112 { 113 113 // Unable to write to the file
