/dokuwiki/inc/parser/ |
H A D | xhtml.php | 1205 [$ext, $mime] = mimetype($src, false); 1206 if (str_starts_with($mime, 'image') && $render) { 1216 } elseif (($mime == 'application/x-shockwave-flash' || media_supportedav($mime)) && $render) { 1299 [$ext, $mime] = mimetype($src, false); 1300 if (str_starts_with($mime, 'image') && $render) { 1303 } elseif (($mime == 'application/x-shockwave-flash' || media_supportedav($mime)) && $render) { 1683 [$ext, $mime] = mimetype($src); 1684 if (str_starts_with($mime, 'imag [all...] |
/dokuwiki/inc/ |
H A D | template.php | 1511 [, $mime] = mimetype($image); 1512 if ($mime == 'image/jpeg') {
|
H A D | Mailer.class.php | 79 * @param string $mime Mimetype of the attached file 83 public function attachFile($path, $mime, $name = '', $embed = '') 91 'mime' => $mime, 101 * @param string $mime Mimetype of the attached file 105 public function attachContent($data, $mime, $name = '', $embed = '') 108 [, $ext] = explode('/', $mime); 114 'mime' => $mime, 131 // get file and mime typ 78 attachFile($path, $mime, $name = '', $embed = '') global() argument 99 attachContent($data, $mime, $name = '', $embed = '') global() argument [all...] |
H A D | confutils.php | 62 static $mime = null; 63 if (!$mime) { 64 $mime = retrieveConfig('mime', 'confToHash'); 65 $mime = array_filter($mime); 67 return $mime;
|
H A D | media.php | 315 [$ext, $mime] = mimetype($id); 329 ['name' => $path, 'mime' => $mime, 'ext' => $ext], 384 'mime' => $imime, 446 if (!isset($file['mime']) || !isset($file['ext'])) { 447 [$ext, $mime] = mimetype($id); 448 if (!isset($file['mime'])) { 449 $file['mime'] = $mime; 482 $ok = media_contentcheck($file['name'], $file['mime']); 627 media_contentcheck($file, $mime) global() argument 669 media_notify($id, $file, $mime, $old_rev = false, $current_rev = false) global() argument 2100 media_supportedav($mime, $type = NULL) global() argument [all...] |
H A D | fetch.functions.php | 21 * @param string $mime mime type of the file 32 function sendFile($file, $mime, $dl, $cache, $public = false, $orig = null, $csp = []) 35 // send mime headers 36 header("Content-Type: $mime"); 98 http_rangeRequest($fp, filesize($file), $mime); 28 sendFile($file, $mime, $dl, $cache, $public = false, $orig = null, $csp = []) global() argument
|
H A D | httputils.php | 96 * @param int $mime - MIME type of the file 100 function http_rangeRequest($fh, $size, $mime) 140 header("Content-Type: $mime", true); 144 header("Content-Type: $mime", true); 157 echo "Content-Type: $mime" . HTTP_HEADER_LF; 97 http_rangeRequest($fh, $size, $mime) global() argument
|
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | Misc.php | 1795 public static function parse_mime($mime) argument 1797 if (($pos = strpos($mime, ';')) === false) { 1798 return trim($mime); 1801 return trim(substr($mime, 0, $pos));
|
H A D | SimplePie.php | 1961 * the correct {@link http://www.iana.org/assignments/media-types/ mime-type} 1974 * @param string $mime MIME type to serve the page as 1976 public function handle_content_type($mime = 'text/html') argument 1979 $header = "Content-type: $mime;";
|
H A D | Enclosure.php | 937 $mime = explode('/', $type, 2); 938 $mime = $mime[0]; 942 if ($mime === 'video') { 956 if ($mime === 'audio') { 958 } elseif ($mime === 'video') { 973 } elseif ($mime === 'audio') { 978 if ($mime === 'audio') { 980 } elseif ($mime === 'video') { 1065 // If we encounter an unsupported mime [all...] |
/dokuwiki/inc/Subscriptions/ |
H A D | MediaSubscriptionSender.php | 23 [$mime, /* ext */] = mimetype($id); 26 'MIME' => $mime,
|
/dokuwiki/vendor/marcusschwarz/lesserphp/ |
H A D | lessc.inc.php |
|
/dokuwiki/inc/Action/ |
H A D | Sitemap.php | 41 $mime = 'application/x-gzip'; 43 $mime = 'application/xml; charset=utf-8'; 53 header('Content-Type: ' . $mime);
|
/dokuwiki/inc/File/ |
H A D | MediaFile.php | 13 protected $mime; 32 [$this->ext, $this->mime, $this->downloadable] = mimetype($this->path, false); 66 if (!$this->mime) return 'application/octet-stream'; 67 return $this->mime; 119 return (str_starts_with($this->mime, 'image/')); 12 protected $mime; global() variable in dokuwiki\\File\\MediaFile
|