Lines Matching refs:media
34 // build regex to parse URL back to media info
38 // extract the real media from a fetch.php uri and determine mime
41 preg_match('/[&?]media=([^&?]*)/', $file, $m)
43 $media = rawurldecode($m[1]);
44 [$ext, $mime] = mimetype($media);
61 if (!empty($media)) {
76 if (media_isexternal($media)) {
77 $local = media_get_from_URL($media, $ext, -1);
80 $local = $media;
83 $media = cleanID($media);
85 if (auth_quickaclcheck(getNS($media) . ':X') < AUTH_READ) {
89 $local = mediaFN($media, $rev);