parent
11f4efb51d
commit
60df6f1c18
9 changed files with 1560 additions and 2 deletions
2
data.php
2
data.php
|
@ -100,7 +100,7 @@ class Data extends Base {
|
|||
$textData = "&data=" . $idData;
|
||||
}
|
||||
|
||||
if (preg_match ('/^\//', $config['calibre_directory']))
|
||||
if (preg_match ('/^\//', $config['calibre_directory']) || ($type == "epub" && $config['cops_update_epub-metadata']))
|
||||
{
|
||||
if ($type != "jpg") $textData .= "&type=" . $type;
|
||||
return new Link ("fetch.php?id=$book->id" . $textData, $mime, $rel, $title);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue