mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Thumbnail cache-file name-generation moved to e_parse_class.php as thumbCacheFile()
This commit is contained in:
@@ -264,10 +264,10 @@ class e_thumbpage
|
||||
// return false;
|
||||
}
|
||||
|
||||
$cache_str = md5(serialize($options). $this->_src_path. $this->_thumbQuality. $options['c']);
|
||||
$fname = strtolower('Thumb_'.$thumbnfo['filename'].'_'.$cache_str.'.'.$thumbnfo['extension']).'.cache.bin';
|
||||
|
||||
// $cache_str = md5(serialize($options). $this->_src_path. $this->_thumbQuality);
|
||||
// $fname = strtolower('Thumb_'.$thumbnfo['filename'].'_'.$cache_str.'.'.$thumbnfo['extension']).'.cache.bin';
|
||||
|
||||
$fname = e107::getParser()->thumbCacheFile($this->_src_path, $options);
|
||||
|
||||
if(($this->_cache === true) && is_file(e_CACHE_IMAGE.$fname) && is_readable(e_CACHE_IMAGE.$fname) && ($this->_debug !== true))
|
||||
{
|
||||
|
Reference in New Issue
Block a user