aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Routing.class.php
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-07-24 21:56:04 +0200
committertcit <tcit@tcit.fr>2014-07-24 21:56:04 +0200
commitfb9df0c269f36703909b8b259abbdbed29881ecd (patch)
tree03069262fe6a7bd5891f5649d31fc057b3ca8541 /inc/poche/Routing.class.php
parentc70bfefc68fcc96b1ce57845e5b2942a596239ec (diff)
downloadwallabag-fb9df0c269f36703909b8b259abbdbed29881ecd.tar.gz
wallabag-fb9df0c269f36703909b8b259abbdbed29881ecd.tar.zst
wallabag-fb9df0c269f36703909b8b259abbdbed29881ecd.zip
use directly MOBIClass
Diffstat (limited to 'inc/poche/Routing.class.php')
-rw-r--r--inc/poche/Routing.class.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php
index e01d8129..83eabf19 100644
--- a/inc/poche/Routing.class.php
+++ b/inc/poche/Routing.class.php
@@ -112,12 +112,15 @@ class Routing
112 $this->wallabag->deleteUser($_POST['password4deletinguser']); 112 $this->wallabag->deleteUser($_POST['password4deletinguser']);
113 } elseif (isset($_GET['epub'])) { 113 } elseif (isset($_GET['epub'])) {
114 $epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['value']); 114 $epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['value']);
115 $epub->prepareData();
115 $epub->produceEpub(); 116 $epub->produceEpub();
116 } elseif (isset($_GET['mobi'])) { 117 } elseif (isset($_GET['mobi'])) {
117 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']); 118 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
119 $mobi->prepareData();
118 $mobi->produceMobi(); 120 $mobi->produceMobi();
119 } elseif (isset($_GET['pdf'])) { 121 } elseif (isset($_GET['pdf'])) {
120 $pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']); 122 $pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']);
123 $pdf->prepareData();
121 $pdf->producePDF(); 124 $pdf->producePDF();
122 } elseif (isset($_GET['import'])) { 125 } elseif (isset($_GET['import'])) {
123 $import = $this->wallabag->import(); 126 $import = $this->wallabag->import();