Temporary fix to make enclosure urls iTunes compatible
This commit is contained in:
parent
ef87ad8a51
commit
eae8c7b638
4 changed files with 25 additions and 8 deletions
|
@ -535,13 +535,13 @@ class ApiController extends Zend_Controller_Action
|
|||
$mime_type = finfo_buffer($f, $blob, FILEINFO_MIME_TYPE);
|
||||
finfo_close($f);
|
||||
|
||||
header("Content-type: " . $mime_type);
|
||||
header("Content-Type: " . $mime_type);
|
||||
echo $blob;
|
||||
} else {
|
||||
header('HTTP/1.0 401 Unauthorized');
|
||||
print _('You are not allowed to access this resource. ');
|
||||
print _('You are not allowed to access this resource.');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function scheduleAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue