aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-09-27 19:47:50 +0200
committertcit <tcit@tcit.fr>2014-09-27 19:47:50 +0200
commit6fc2c29daaadcd5075aec6bde2fd0f94274367a8 (patch)
treef18a2ffc33219543776ce28465b38100d91a0d87
parenta1b31d93b69c78db0ebc0635b619b02ee7392957 (diff)
downloadwallabag-6fc2c29daaadcd5075aec6bde2fd0f94274367a8.tar.gz
wallabag-6fc2c29daaadcd5075aec6bde2fd0f94274367a8.tar.zst
wallabag-6fc2c29daaadcd5075aec6bde2fd0f94274367a8.zip
revert routing bad deleting
-rwxr-xr-xinc/poche/Routing.class.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php
index 0b373058..bd61a0b3 100755
--- a/inc/poche/Routing.class.php
+++ b/inc/poche/Routing.class.php
@@ -119,8 +119,21 @@ class Routing
119 } elseif (isset($_GET['deluser'])) { 119 } elseif (isset($_GET['deluser'])) {
120 $this->wallabag->deleteUser($_POST['password4deletinguser']); 120 $this->wallabag->deleteUser($_POST['password4deletinguser']);
121 } elseif (isset($_GET['epub'])) { 121 } elseif (isset($_GET['epub'])) {
122 $epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['id'], $_GET['value']); 122 $epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['value']);
123 $epub->run(); 123 $epub->prepareData();
124 $epub->produceEpub();
125 } elseif (isset($_GET['mobi'])) {
126 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
127 $mobi->prepareData();
128 $mobi->produceMobi();
129 } elseif (isset($_GET['send2kindle'])) {
130 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
131 $mobi->prepareData();
132 $mobi->produceMobi(TRUE);
133 } elseif (isset($_GET['pdf'])) {
134 $pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']);
135 $pdf->prepareData();
136 $pdf->producePDF();
124 } elseif (isset($_GET['import'])) { 137 } elseif (isset($_GET['import'])) {
125 $import = $this->wallabag->import(); 138 $import = $this->wallabag->import();
126 $tplVars = array_merge($this->vars, $import); 139 $tplVars = array_merge($this->vars, $import);