Lines Matching refs:file
60 * Return the value of currentBookChapter, which is the order of the file to be added in a book generation
134 // deliver the file
381 $file = wikiFN($id, $rev);
383 if (!file_exists($file)) {
394 $ret = p_render('dw2pdf', p_get_instructions(io_readWikiPage($file, $id, $rev)), $info, $date_at);
396 $ret = p_cached_output($file, 'dw2pdf', $id);
531 //file doesn't exists
567 // write to cache file
584 if ($outputTarget === 'file') {
593 //try to send file, and exit if done
601 echo "Could not read file - bad permissions?";
631 $file = DOKU_PLUGIN . 'dw2pdf/tpl/' . $this->tpl . '/' . $section . $order . '.html';
632 if (file_exists($file)) {
634 $html .= file_get_contents($file) . DOKU_LF;
799 foreach ($files as $file => $location) {
800 $display = str_replace(fullpath(DOKU_INC), '', fullpath($file));
802 $css .= css_loadfile($file, $location);
863 ] as $file
865 if (file_exists(tpl_incdir() . $file)) {
866 $list[tpl_incdir() . $file] = tpl_basedir() . $file;
884 * usort callback to sort by file lastmodified time