parent
11f4efb51d
commit
60df6f1c18
9 changed files with 1560 additions and 2 deletions
|
@ -87,6 +87,12 @@
|
|||
break;
|
||||
}
|
||||
$file = $book->getFilePath ($type, $idData, true);
|
||||
if ($type == "epub" && $config['cops_update_epub-metadata'])
|
||||
{
|
||||
$book->getUpdatedEpub ($idData);
|
||||
return;
|
||||
}
|
||||
|
||||
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