Home
last modified time | relevance | path

Searched refs:cachefile (Results 1 – 13 of 13) sorted by relevance

/plugin/svgpureinsert/
H A Dhelper.php23 $cachefile = getCacheName($id . $info['date'], '.svg');
24 $cachedate = @filemtime($cachefile);
26 list($width, $height) = $this->readSVGsize($cachefile);
27 return array($cachefile, $width, $height);
32 io_download($id, $cachefile); #FIXME make max size configurable
34 @copy(mediaFN($id), $cachefile);
36 clearstatcache(false, $cachefile);
39 if(file_exists($cachefile)){
40 list($width, $height) = $this->readSVGsize($cachefile, true);
41 return array($cachefile, $width, $height);
/plugin/datatemplate/syntax/inc/
H A Dcache.php59 $cachefile = getCacheName($sql, '.datatemplate');
60 if(file_exists($cachefile))
61 $cachedate = filemtime($cachefile);
76 file_put_contents($cachefile, serialize($rows), LOCK_EX);
110 file_put_contents($cachefile, serialize($cache), LOCK_EX);
121 $cachefile = getCacheName($sql, '.datatemplate');
122 $datastr = file_get_contents($cachefile);
/plugin/authucenter/lib/uc_client/model/
H A Dcache.php40 function updatedata($cachefile = '') { argument
41 if($cachefile) {
42 foreach((array)$this->map[$cachefile] as $modules) {
49 @file_put_contents(UC_DATADIR."./cache/$cachefile.php", $s);
H A Dbase.php110 function &cache($cachefile) { argument
112 if(!isset($_CACHE[$cachefile])) {
113 $cachepath = UC_DATADIR.'./cache/'.$cachefile.'.php';
116 $_ENV['cache']->updatedata($cachefile);
121 return $_CACHE[$cachefile];
/plugin/odt/action/
H A Dexport.php428 * @param string $cachefile
431 protected function generateODT($cachefile, $title) { argument
462 io_savefile($cachefile, $odt->doc);
466 * @param string $cachefile
469 protected function sendODTFile($cachefile, $title) { argument
473 http_conditionalRequest(filemtime($cachefile));
486 http_sendfile($cachefile);
488 $fp = @fopen($cachefile, "rb");
490 http_rangeRequest($fp, filesize($cachefile), 'application/vnd.oasis.opendocument.text');
/plugin/eventum/
H A Dsyntax.php79 $cachefile = $conf['cachedir'].'/'.$this->getPluginName().'.cache';
82 if ($data === null && !file_exists($cachefile)) {
88 if (file_exists($cachefile)) {
89 $cache = unserialize(file_get_contents($cachefile));
108 file_put_contents($cachefile, serialize($cache));
/plugin/freechat/phpfreechat/src/
H A Dpfcglobalconfig.class.php663 $cachefile = $this->_GetCacheFile();
664 if (!file_exists($cachefile))
1044 $cachefile = $this->_GetCacheFile();
1045 if (!file_exists($cachefile))
1049 $cachefile_lock = $cachefile."_lock";
1052 return @unlink($cachefile);
1061 $cachefile = $this->_GetCacheFile();
1062 $cachefile_lock = $cachefile."_lock";
1064 if (file_exists($cachefile))
1069 include $cachefile;
[all …]
H A Dpfcinfo.class.php18 $cachefile = pfcGlobalConfig::_GetCacheFile( $serverid, $data_private_path );
19 if (!file_exists($cachefile))
/plugin/authucenter/lib/api/
H A Duc.php176 $cachefile = DOKU_ROOT.'./uc_client/data/cache/hosts.php';
177 $fp = fopen($cachefile, 'w');
199 $cachefile = DOKU_ROOT.'./uc_client/data/cache/apps.php';
200 $fp = fopen($cachefile, 'w');
227 $cachefile = DOKU_ROOT.'./uc_client/data/cache/settings.php';
228 $fp = fopen($cachefile, 'w');
/plugin/diagrams/syntax/
H A Dmediafile.php103 $cachefile = $this->getCachedPNG($data);
117 if ($cachefile) {
118 $imageAttributes['src'] = 'dw2pdf://' . $cachefile;
137 if ($cachefile) {
139 $imageAttributes['data-pngcache'] = str_replace([$conf['cachedir'], Diagrams::CACHE_EXT], '', $cachefile);
169 $cachefile = getCacheName($data['svg'], Diagrams::CACHE_EXT);
170 if (file_exists($cachefile)) return $cachefile;
/plugin/dw2pdf/
H A Daction.php35 /** @var bool|string path to temporary cachefile */
100 $cachefile = tempnam($conf['tmpdir'] . '/dwpdf', 'dw2pdf_');
101 $this->onetimefile = $cachefile;
107 $cachefile = $cache->cache;
118 $this->generatePDF($cachefile, $event);
135 $this->sendPDFFile($cachefile); //exits
408 * @param string $cachefile
412 protected function generatePDF($cachefile, $event)
568 $mpdf->Output($cachefile, 'F');
572 * @param string $cachefile
398 generatePDF($cachefile, $event) global() argument
562 sendPDFFile($cachefile) global() argument
[all...]
/plugin/ireadit/action/
H A Dmigration.php76 $cachefile = new CacheRenderer($val['id'], wikiFN($val['id']), 'metadata');
77 $cachefile->removeCache();
/plugin/highlightjs/highlight/
H A Dhighlight.pack.js1 …expire:1,cachedirlength:1,cachedirlevels:1,cachedisable:1,cacheenable:1,cachefile:1,cacheignorecac… property in hljs.LANGUAGES.apache.dM.k.keyword