Lines Matching refs:cache_filename
56 $nice_cachefile = str_replace(DIRECTORY_SEPARATOR, '/', $phpThumb->cache_filename);
61 $nModified = filemtime($phpThumb->cache_filename);
65 …sed cached (image/'.$phpThumb->thumbnailFormat.') file "'.$phpThumb->cache_filename.'" (Last-Modif…
72 if ($getimagesize = @getimagesize($phpThumb->cache_filename)) {
78 …$phpThumb->DebugMessage('* Would have sent data: file_get_contents('.$phpThumb->cache_filename.')'…
87 $getimagesize = @getimagesize($phpThumb->cache_filename);
99 header('ETag: "'.md5_file($phpThumb->cache_filename).'"');
102 } elseif (preg_match('#\\.ico$#i', $phpThumb->cache_filename)) {
105 header('Content-Length: '.filesize($phpThumb->cache_filename));
109 echo file_get_contents($phpThumb->cache_filename);
585 if (@is_readable($phpThumb->cache_filename)) {
588 …$phpThumb->DebugMessage('Cached file "'.$phpThumb->cache_filename.'" does not exist, processing as…
680 phpthumb_functions::EnsureDirectoryExists(dirname($phpThumb->cache_filename));
681 …itable(dirname($phpThumb->cache_filename)) || (file_exists($phpThumb->cache_filename) && is_writab…
684 …if ($phpThumb->RenderToFile($phpThumb->cache_filename) && is_readable($phpThumb->cache_filename)) {
685 chmod($phpThumb->cache_filename, 0644);
688 …$phpThumb->DebugMessage('Failed: RenderToFile('.$phpThumb->cache_filename.')', __FILE__, __LINE__);
693 …hpThumb->cache_filename ('.$phpThumb->cache_filename.') because that directory ('.dirname($phpThum…