From 4188f38ad56d7ba2ea46e94403f305243514f80c Mon Sep 17 00:00:00 2001 From: tcit Date: Thu, 24 Jul 2014 15:49:36 +0200 Subject: add pdf and mobi libraries --- inc/poche/global.inc.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inc/poche/global.inc.php') diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php index b8c487e3..e3687eb2 100755 --- a/inc/poche/global.inc.php +++ b/inc/poche/global.inc.php @@ -41,6 +41,16 @@ require_once INCLUDES . '/3rdparty/libraries/PHPePub/Logger.php'; require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPub.php'; require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPubChapterSplitter.php'; +# mobi library +require_once INCLUDES . '/3rdparty/libraries/send2kindle/send.php'; +require_once INCLUDES . '/3rdparty/libraries/send2kindle/images.php'; +require_once INCLUDES . '/3rdparty/libraries/send2kindle/storage.php'; +require_once INCLUDES . '/3rdparty/libraries/send2kindle/MOBIClass/MOBI.php'; +require_once INCLUDES . '/3rdparty/libraries/send2kindle/utils.php'; + +# pdf library +require_once INCLUDES . '/3rdparty/libraries/mpdf/mpdf.php'; + # system configuration; database credentials et caetera require_once INCLUDES . '/poche/config.inc.php'; require_once INCLUDES . '/poche/config.inc.default.php'; -- cgit v1.2.3 From 15317991f3ff456e6e215947402a0dcfd951e0df Mon Sep 17 00:00:00 2001 From: tcit Date: Thu, 24 Jul 2014 15:53:23 +0200 Subject: from epub to all kind of ebooks --- inc/poche/global.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/poche/global.inc.php') diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php index e3687eb2..1542fbfa 100755 --- a/inc/poche/global.inc.php +++ b/inc/poche/global.inc.php @@ -22,7 +22,7 @@ require_once ROOT . '/vendor/autoload.php'; require_once INCLUDES . '/poche/Template.class.php'; require_once INCLUDES . '/poche/Language.class.php'; require_once INCLUDES . '/poche/Routing.class.php'; -require_once INCLUDES . '/poche/WallabagEpub.class.php'; +require_once INCLUDES . '/poche/WallabagEBooks.class.php'; require_once INCLUDES . '/poche/Poche.class.php'; require_once INCLUDES . '/poche/Database.class.php'; -- cgit v1.2.3 From fb9df0c269f36703909b8b259abbdbed29881ecd Mon Sep 17 00:00:00 2001 From: tcit Date: Thu, 24 Jul 2014 21:56:04 +0200 Subject: use directly MOBIClass --- inc/poche/global.inc.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'inc/poche/global.inc.php') diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php index 1542fbfa..182f721d 100755 --- a/inc/poche/global.inc.php +++ b/inc/poche/global.inc.php @@ -42,11 +42,7 @@ require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPub.php'; require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPubChapterSplitter.php'; # mobi library -require_once INCLUDES . '/3rdparty/libraries/send2kindle/send.php'; -require_once INCLUDES . '/3rdparty/libraries/send2kindle/images.php'; -require_once INCLUDES . '/3rdparty/libraries/send2kindle/storage.php'; -require_once INCLUDES . '/3rdparty/libraries/send2kindle/MOBIClass/MOBI.php'; -require_once INCLUDES . '/3rdparty/libraries/send2kindle/utils.php'; +require_once INCLUDES . '/3rdparty/libraries/MOBIClass/MOBI.php'; # pdf library require_once INCLUDES . '/3rdparty/libraries/mpdf/mpdf.php'; -- cgit v1.2.3 From 824f8c45edb20e27221e92805b0090f1768a2756 Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 27 Sep 2014 19:34:17 +0200 Subject: changed mpdf with tcpdf --- inc/poche/global.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/poche/global.inc.php') diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php index 182f721d..728528f8 100755 --- a/inc/poche/global.inc.php +++ b/inc/poche/global.inc.php @@ -45,7 +45,8 @@ require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPubChapterSplitter.php'; require_once INCLUDES . '/3rdparty/libraries/MOBIClass/MOBI.php'; # pdf library -require_once INCLUDES . '/3rdparty/libraries/mpdf/mpdf.php'; +#require_once INCLUDES . '/3rdparty/libraries/mpdf/mpdf.php'; +require_once INCLUDES . '/3rdparty/libraries/tcpdf/tcpdf.php'; # system configuration; database credentials et caetera require_once INCLUDES . '/poche/config.inc.php'; -- cgit v1.2.3