Show
Ignore:
Timestamp:
05/09/08 14:32:35 (7 months ago)
Author:
sidtheduck
Message:

+ Fix for ticket #78 - uses the md5 file key of uploaded files as a unique id for import- thumb prefix.
(may be a little messy with the long filenames, but I couldn't think of an easier way at the moment to do unique names for import thumbs)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/plog-import.php

    r536 r537  
    102102                                                        $imported++; 
    103103                                                        // delete thumbnail file if it exists 
    104                                                         $thumbpath = $config['basedir'] . 'thumbs/import-' . basename($file_name); 
     104                                                        $thumbpath = $config['basedir'] . 'thumbs/import-'.$file_key.'-'.basename($file_name); 
    105105                                                        if (is_file($thumbpath) && is_readable($thumbpath)) 
    106106                                                        {