Searched refs:cacheFile (Results 1 – 15 of 15) sorted by relevance
84 $cacheFile = self::getCacheFile($key);86 if (!file_exists($cacheFile)) {91 $mtime = filemtime($cacheFile);93 @unlink($cacheFile);97 $contents = @file_get_contents($cacheFile);104 @unlink($cacheFile);129 $cacheFile = self::getCacheFile($key);133 $tempFile = $cacheFile . '.tmp';138 if (!@rename($tempFile, $cacheFile)) {160 $cacheFile = self::getCacheFile($key);[all …]
150 $cacheFile = $this->getCacheFilename();156 io_saveFile($cacheFile, serialize($data));168 $cacheFile = $this->getCacheFilename();170 if (!file_exists($cacheFile)) return null;172 $data = unserialize(io_readFile($cacheFile, false));213 $cacheFile = $this->getCacheFilename();214 if (file_exists($cacheFile)) {215 @unlink($cacheFile);
35 $cacheFile = $this->getCacheFile();38 if (file_exists($cacheFile)) {40 readfile($cacheFile);95 $cacheFile = $this->getCacheFile();97 if (!$cacheFile || !$cacheMetaFile) return;102 …if (!$forceUpdate && file_exists($cacheFile) && isset($meta['last_updated']) && $meta['last_update…110 if (!is_dir(dirname($cacheFile))) {111 mkdir(dirname($cacheFile), 0755, true);114 file_put_contents($cacheFile, $jsonData);
45 $cacheFile = $this->getOurCacheFilename($changelogFN);46 if (file_exists($cacheFile) && (time() - filemtime($cacheFile) < self::SECONDS_IN_A_DAY)) {54 touch($cacheFile);100 $cacheFile = $this->getOurCacheFilename($changelogFN, true);101 $cacheStartPosition = (int)file_get_contents($cacheFile);127 file_put_contents($cacheFile, ftell($handle));
45 $cacheFile = $this->getOurCacheFilename($ID);46 if (file_exists($cacheFile) && (time() - filemtime($cacheFile) < self::SECONDS_IN_A_DAY)) {54 touch($cacheFile);101 $cacheFile = $this->getOurCacheFilename($id, true);102 $cacheStartPosition = (int)file_get_contents($cacheFile);128 file_put_contents($cacheFile, ftell($handle));
159 $cacheFile = $this->functions->getCacheFileNameForPattern($pattern);161 $mtime = @filemtime($cacheFile); // 0 if not exists166 $this->__clearCacheFile( $cacheFile );167 …unctions->debug->message("New CacheFile because the file was over the cachetime: ", $cacheFile, 2);184 $this->__clearCacheFile( $cacheFile );185 … $this->functions->debug->message("New CacheFile, because a page changed: ", $cacheFile, 2);191 $this->functions->debug->message("CacheFile exists: ", $cacheFile, 2);195 private function __clearCacheFile( $cacheFile ) { argument196 if ( @unlink($cacheFile) === false ||198 $this->functions->debug->message("Cannot remove cache Files: ", $cacheFile, 2);
30 function create_svg_image($data, $ext, $cacheFile, $progType=null) { argument51 escapeshellarg($cacheFile));68 escapeshellarg($cacheFile));80 escapeshellarg($cacheFile));85 @unlink(escapeshellarg($cacheFile));87 if ( @file_exists($cacheFile)) return true;
49 $cacheFile = $functions->_get_cache_file($data, $ext);50 $mtime = @filemtime($cacheFile); // 0 if not exists54 if ( $functions->create_svg_image( $data, $ext, $cacheFile) ) {64 $data['file'] = $cacheFile;
29 $cacheFile = getCacheName($data['file'],".media.watermark.$ext");30 $mtime = @filemtime($cacheFile); // 0 if not exists36 if ( $this->create_watermark_image( $data, $cacheFile ) ) {38 $data['file'] = $cacheFile;39 list($data['ext'],$data['mime'],$data['download']) = mimetype($cacheFile);
61 $cacheFile = $result->getPath();63 $cacheFile = $cacheFile->toWikiPath();72 self::CACHE_FILE => $cacheFile->toAbsoluteId()
37 $cacheFile = getCacheName($data['file'],".media.reflect.{$_REQUEST['bgc']}.$ext");39 $mtime = @filemtime($cacheFile); // 0 if not exists45 if ( $this->create_reflect_image( $data, $cacheFile, $_REQUEST['bgc'] ) ) {47 $data['file'] = $cacheFile;48 list($data['ext'],$data['mime'],$data['download']) = mimetype($cacheFile);
1703 $cacheFile = $conf['cachedir'] . '/plugin.asciitosvg.objcache';1714 if (is_readable($cacheFile) && is_readable($dir)) {1715 $cacheTime = filemtime($cacheFile);1717 if (filemtime($dir) <= filemtime($cacheFile)) {1718 self::$objects = unserialize(file_get_contents($cacheFile));1721 } else if (file_exists($cacheFile)) {1798 file_put_contents($cacheFile, serialize(self::$objects));
5084 $cacheFile = DOKU_PLUGIN . 'calendar/.event_stats_cache';5085 if (file_exists($cacheFile)) {5086 unlink($cacheFile);6150 $cacheFile = DOKU_PLUGIN . 'calendar/.event_stats_cache';6153 if (file_exists($cacheFile)) {6154 $cacheData = json_decode(file_get_contents($cacheFile), true);6171 file_put_contents($cacheFile, json_encode([
1 …:1,buildBookmarkMenu:1,buildKeyframeMenu:1,button:1,buttonManip:1,CBG:1,cacheFile:1,cacheFileCombi… property
1 …mCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip cacheFile cacheFileCombine…