Finish .kepub.epub download. fix #39
This commit is contained in:
parent
3f69f79651
commit
02c25705cf
2
book.php
2
book.php
|
@ -330,7 +330,7 @@ class Book extends Base {
|
||||||
$epub->Serie ($se->name);
|
$epub->Serie ($se->name);
|
||||||
$epub->SerieIndex ($this->seriesIndex);
|
$epub->SerieIndex ($this->seriesIndex);
|
||||||
}
|
}
|
||||||
if ($config['cops_provide_kepub'] == "1") {
|
if ($config['cops_provide_kepub'] == "1" && preg_match("/Kobo/", $_SERVER['HTTP_USER_AGENT'])) {
|
||||||
$epub->updateForKepub ();
|
$epub->updateForKepub ();
|
||||||
}
|
}
|
||||||
$epub->download ($data->getUpdatedFilenameEpub ());
|
$epub->download ($data->getUpdatedFilenameEpub ());
|
||||||
|
|
Loading…
Reference in a new issue