Changeset 3657 for trunk/admin
- Timestamp:
- Jul 21, 2009, 10:09:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r3621 r3657 172 172 foreach (array($file_path, $thumbnail_path, $high_path) as $path) 173 173 { 174 if (isset($path) and !unlink($path))174 if (isset($path) and is_file($path) and !unlink($path)) 175 175 { 176 176 die('"'.$path.'" cannot be removed');
Note: See TracChangeset
for help on using the changeset viewer.