Searched refs:cache_dir (Results 1 – 4 of 4) sorted by relevance
4 protected static $cache_dir, $ttl_dir;23 @unlink(static::$cache_dir.$file);31 static::$cache_dir = $conf['tmpdir'].'/cachewrapper/'; 33 if (!file_exists(static::$cache_dir)) mkdir(static::$cache_dir);34 …elseif (!is_dir(static::$cache_dir)) trigger_error("The cache directory '".static::$cache_dir."' i…36 …elseif (!is_dir(static::$ttl_dir)) trigger_error("The cache directory '".static::$cache_dir."' is …47 …if ($result = (!file_exists(static::$cache_dir.static::normalize_key($key)) && @file_put_contents(…56 …if ($result = (@file_put_contents(static::$cache_dir.static::normalize_key($key),gzcompress(serial…65 return file_exists(static::$cache_dir.static::normalize_key($key)); 71 return @unlink(static::$cache_dir.static::normalize_key($key));[all …]
33 var $cache_dir; variable in nusoap_wsdlcache43 * @param string $cache_dir directory for cache-files47 function nusoap_wsdlcache($cache_dir='.', $cache_lifetime=0) { argument49 $this->cache_dir = $cache_dir != '' ? $cache_dir : '.';61 return $this->cache_dir.'/wsdlcache-' . md5($wsdl);
65 if ($this->cache_dir != '') {66 $cache_file = $this->cache_dir . '/rsscache_' . md5($rss_url);83 $dh=opendir($this->cache_dir);86 if (file_exists($this->cache_dir."/".$file)) {87 if ((fileatime($this->cache_dir."/".$file)+604800) <= time()) {88 unlink ($this->cache_dir."/".$file);
18 $rss->cache_dir = 'cache'; //path to cache directory on your server from this script. Chmod 777!