Add a permalink to book (the little linkish thingy)
fix the image zoom in the book detail Add book title to the book detail clean the code a little (more to do)
This commit is contained in:
parent
c094e1564c
commit
0ba361e434
6 changed files with 23 additions and 6 deletions
|
@ -92,7 +92,10 @@
|
|||
$book->getUpdatedEpub ($idData);
|
||||
return;
|
||||
}
|
||||
|
||||
header('Content-Disposition: attachment; filename="' . basename ($file) . '"');
|
||||
if ($type == "jpg") {
|
||||
header('Content-Disposition: filename="' . basename ($file) . '"');
|
||||
} else {
|
||||
header('Content-Disposition: attachment; filename="' . basename ($file) . '"');
|
||||
}
|
||||
header ($config['cops_x_accel_redirect'] . ": " . $config['calibre_internal_directory'] . $file);
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue