From 02c25705cf7f29f0c26036ab4f35c67190d0591d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Tue, 26 Feb 2013 17:33:18 +0100 Subject: [PATCH] Finish .kepub.epub download. fix #39 --- book.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book.php b/book.php index 7135536..e870a58 100644 --- a/book.php +++ b/book.php @@ -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 ());