- Timestamp:
- 04/16/08 13:00:34 (8 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
admin/plog-admin-functions.php (modified) (1 diff)
-
plog-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/plog-admin-functions.php
r517 r522 97 97 }; 98 98 99 @unlink($tmpname); 99 if (is_file($tmpname)){ 100 unlink($tmpname); 101 } 100 102 $res = chmod($final_fqfn, 0755); 101 103 -
trunk/plog-functions.php
r512 r522 512 512 // if thumbnail file already exists and is generated after data for a thumbnail type 513 513 // has been changed, then we assume that the thumbnail is valid. 514 $thumbnail_timestamp = @filemtime($thumbpath); 515 516 if (file_exists($thumbpath) && $thumb_config['timestamp'] < $thumbnail_timestamp) { 517 return $thumburl; 514 if (file_exists($thumbpath){ 515 $thumbnail_timestamp = @filemtime($thumbpath); 516 if ($thumb_config['timestamp'] < $thumbnail_timestamp) { 517 return $thumburl; 518 } 518 519 } 519 520
