Properly use the method getMimeType in fetch.php. fix #72
这个提交存在于:
父节点
55a82f5d93
当前提交
3f9ea556b0
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
|
@ -69,7 +69,8 @@ function notFound () {
|
|||
}
|
||||
break;
|
||||
default:
|
||||
header("Content-Type: " . Data::$mimetypes[$type]);
|
||||
$data = $book->getDataById ($idData);
|
||||
header("Content-Type: " . $data->getMimeType ());
|
||||
break;
|
||||
}
|
||||
$file = $book->getFilePath ($type, $idData, true);
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用