Ignore:
Timestamp:
12/08/11 17:19:34 (8 years ago)
Author:
patdenice
Message:

Check md5sum for thumbnail cache.
Compatibility with RV Thumbnails Scroller.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/functions.inc.php

    r12691 r12705  
    4646      $cache_dir = $data['cache_path']; 
    4747    } 
    48     $file = $cache_dir.'/'.md5($picture['path']).'.'.$picture['tn_ext']; 
     48    $file = $cache_dir.'/'.md5($picture['path'].(!empty($picture['md5sum']) ? $picture['md5sum'] : '')).'.'.$picture['tn_ext']; 
    4949 
    5050    if (!is_dir($cache_dir)) 
Note: See TracChangeset for help on using the changeset viewer.