diff options
Diffstat (limited to 'inc/poche')
-rw-r--r-- | inc/poche/Routing.class.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php index 2db57d12..e01d8129 100644 --- a/inc/poche/Routing.class.php +++ b/inc/poche/Routing.class.php | |||
@@ -112,7 +112,13 @@ 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->run(); | 115 | $epub->produceEpub(); |
116 | } elseif (isset($_GET['mobi'])) { | ||
117 | $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']); | ||
118 | $mobi->produceMobi(); | ||
119 | } elseif (isset($_GET['pdf'])) { | ||
120 | $pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']); | ||
121 | $pdf->producePDF(); | ||
116 | } elseif (isset($_GET['import'])) { | 122 | } elseif (isset($_GET['import'])) { |
117 | $import = $this->wallabag->import(); | 123 | $import = $this->wallabag->import(); |
118 | $tplVars = array_merge($this->vars, $import); | 124 | $tplVars = array_merge($this->vars, $import); |