Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 14 of 14) sorted by last modified time

/dokuwiki/inc/parser/
H A Dxhtml.php1205 [$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 Dtemplate.php1511 [, $mime] = mimetype($image);
1512 if ($mime == 'image/jpeg') {
H A DMailer.class.php79 * @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 Dconfutils.php62 static $mime = null;
63 if (!$mime) {
64 $mime = retrieveConfig('mime', 'confToHash');
65 $mime = array_filter($mime);
67 return $mime;
H A Dmedia.php315 [$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 Dfetch.functions.php21 * @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 Dhttputils.php96 * @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 DMisc.php1795 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 DSimplePie.php1961 * 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 DEnclosure.php937 $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 DMediaSubscriptionSender.php23 [$mime, /* ext */] = mimetype($id);
26 'MIME' => $mime,
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php
/dokuwiki/inc/Action/
H A DSitemap.php41 $mime = 'application/x-gzip';
43 $mime = 'application/xml; charset=utf-8';
53 header('Content-Type: ' . $mime);
/dokuwiki/inc/File/
H A DMediaFile.php13 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