Finish .kepub.epub download. fix #39

这个提交存在于:
Sébastien Lucas 2013-02-26 17:33:18 +01:00
父节点 3f69f79651
当前提交 02c25705cf

查看文件

@ -330,7 +330,7 @@ class Book extends Base {
$epub->Serie ($se->name);
$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->download ($data->getUpdatedFilenameEpub ());