Fixed an ugly typo. And add a neutral content type.
This commit is contained in:
parent
c5dcc8afea
commit
4510124184
|
@ -87,6 +87,7 @@
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$file = $book->getFilePath ($type, $idData, true);
|
$file = $book->getFilePath ($type, $idData, true);
|
||||||
header('Content-Disposition: attachement; filename="' . basename ($file) . '"');
|
header('Content-Type: application/octet-stream');
|
||||||
|
header('Content-Disposition: attachment; filename="' . basename ($file) . '"');
|
||||||
header ($config['cops_x_accel_redirect'] . ": " . $config['calibre_internal_directory'] . $file);
|
header ($config['cops_x_accel_redirect'] . ": " . $config['calibre_internal_directory'] . $file);
|
||||||
?>
|
?>
|
Loading…
Reference in a new issue