aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Routing.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/Routing.class.php')
-rwxr-xr-xinc/poche/Routing.class.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php
index 177b74d5..33a81435 100755
--- a/inc/poche/Routing.class.php
+++ b/inc/poche/Routing.class.php
@@ -15,6 +15,7 @@ class Routing
15 protected $view; 15 protected $view;
16 protected $action; 16 protected $action;
17 protected $id; 17 protected $id;
18 protected $autoclose;
18 protected $url; 19 protected $url;
19 protected $file; 20 protected $file;
20 protected $defaultVars = array(); 21 protected $defaultVars = array();
@@ -111,9 +112,7 @@ class Routing
111 $tag_id = (isset($_GET['tag_id']) ? intval($_GET['tag_id']) : 0); 112 $tag_id = (isset($_GET['tag_id']) ? intval($_GET['tag_id']) : 0);
112 $limit = (isset($_GET['limit']) ? intval($_GET['limit']) : 0); 113 $limit = (isset($_GET['limit']) ? intval($_GET['limit']) : 0);
113 $this->wallabag->generateFeeds($_GET['token'], filter_var($_GET['user_id'],FILTER_SANITIZE_NUMBER_INT), $tag_id, $_GET['type'], $limit); 114 $this->wallabag->generateFeeds($_GET['token'], filter_var($_GET['user_id'],FILTER_SANITIZE_NUMBER_INT), $tag_id, $_GET['type'], $limit);
114 } //elseif (ALLOW_REGISTER && isset($_GET['register'])) { 115 }
115 //$this->wallabag->register
116 //}
117 116
118 //allowed ONLY to logged in user 117 //allowed ONLY to logged in user
119 if (\Session::isLogged() === true) 118 if (\Session::isLogged() === true)
@@ -142,7 +141,7 @@ class Routing
142 $pdf->producePDF(); 141 $pdf->producePDF();
143 } elseif (isset($_GET['import'])) { 142 } elseif (isset($_GET['import'])) {
144 $import = $this->wallabag->import(); 143 $import = $this->wallabag->import();
145 $tplVars = array_merge($this->vars, $import); 144 $this->vars = array_merge($this->vars, $import);
146 } elseif (isset($_GET['empty-cache'])) { 145 } elseif (isset($_GET['empty-cache'])) {
147 Tools::emptyCache(); 146 Tools::emptyCache();
148 } elseif (isset($_GET['export'])) { 147 } elseif (isset($_GET['export'])) {