Searched refs:cache_filename (Results 1 – 4 of 4) sorted by relevance
61 $nModified = filemtime($phpThumb->cache_filename);72 if ($getimagesize = @getimagesize($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)) {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)) {[all …]
259 public $cache_filename = null; variable in phpthumb3640 if (null !== $this->cache_filename) {3671 $this->cache_filename = '';3674 $this->cache_filename .= '_new'.$broad_directory_name;3679 $this->cache_filename .= '_raw'.$this->md5s;3683 $this->cache_filename .= '_raw'.$broad_directory_name;3687 $this->cache_filename .= '_src'.$broad_directory_name;3694 $this->cache_filename .= '_offsite';3725 $this->cache_filename .= '_par'.strtolower(md5($ParametersString));3737 $this->cache_filename .= '.'.strtolower($this->thumbnailFormat);[all …]
22 $cache_filename = $this->_getCacheFilename($url);23 return is_readable($cache_filename);27 $cache_filename = $this->_getCacheFilename($url);28 $obj = unserialize(file_get_contents($cache_filename));
170 …'<div>'.htmlspecialchars($phpThumb->cache_filename ? implode(' / ', preg_split('#[/\\\\]#', $phpTh…171 echo '<div>directory '.(is_dir(dirname($phpThumb->cache_filename)) ? 'exists' : 'does NOT exist').'…172 phpthumb_functions::EnsureDirectoryExists(dirname($phpThumb->cache_filename));173 echo '<div style="background-color: '.(is_dir(dirname($phpThumb->cache_filename)) ? 'lime;">directo…174 if ($fp = @fopen($phpThumb->cache_filename, 'wb')) {179 $old_perms = substr(sprintf('%o', fileperms($phpThumb->cache_filename)), -4);180 @chmod($phpThumb->cache_filename, 0644);182 $new_perms = substr(sprintf('%o', fileperms($phpThumb->cache_filename)), -4);185 if (@unlink($phpThumb->cache_filename)) {