aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Routing.class.php
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-07-25 01:33:31 +0200
committertcit <tcit@tcit.fr>2014-07-25 01:33:31 +0200
commitdc59f164a94ce2ab9e3165aa0090acff8a352493 (patch)
tree6971192e20df1fa6737fad50ef643e4b2bd5957c /inc/poche/Routing.class.php
parentdeab6280d3cbe3f8d001ff5214d36399653e3027 (diff)
downloadwallabag-dc59f164a94ce2ab9e3165aa0090acff8a352493.tar.gz
wallabag-dc59f164a94ce2ab9e3165aa0090acff8a352493.tar.zst
wallabag-dc59f164a94ce2ab9e3165aa0090acff8a352493.zip
send2kindle
Diffstat (limited to 'inc/poche/Routing.class.php')
-rw-r--r--inc/poche/Routing.class.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php
index 83eabf19..ec33432c 100644
--- a/inc/poche/Routing.class.php
+++ b/inc/poche/Routing.class.php
@@ -118,6 +118,10 @@ class Routing
118 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']); 118 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
119 $mobi->prepareData(); 119 $mobi->prepareData();
120 $mobi->produceMobi(); 120 $mobi->produceMobi();
121 } elseif (isset($_GET['send2kindle'])) {
122 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
123 $mobi->prepareData();
124 $mobi->produceMobi(TRUE);
121 } elseif (isset($_GET['pdf'])) { 125 } elseif (isset($_GET['pdf'])) {
122 $pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']); 126 $pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']);
123 $pdf->prepareData(); 127 $pdf->prepareData();