Lines Matching refs:local
13 * local files before passing the data back to mpdf's original function
49 // local files
50 $local = '';
52 // support local files passed from plugins
53 $local = substr($file, 9);
56 // directly access local files instead of using HTTP, skip dynamic content
57 $local = preg_replace("/^$re/i", DOKU_INC, $file);
77 $local = media_get_from_URL($media, $ext, -1);
78 if (!$local) {
80 $local = $media;
87 $local = '';
89 $local = mediaFN($media, $rev);
94 if ($w && file_exists($local)) {
96 $local = media_crop_image($local, $ext, $w, $h);
98 $local = media_resize_image($local, $ext, $w, $h);
101 } elseif (!file_exists($local) && media_isexternal($file)) { // fixed external URLs
102 $local = media_get_from_URL($file, $ext, $conf['cachetime']);
105 if ($local) {
106 $file = $local;
107 $orig_srcpath = $local;