aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-10 14:41:58 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-10 14:41:58 +0200
commitce4a1dcc193d3124fc51c4942137621d3d806a19 (patch)
tree437baacae734dd62426329fa4fa830beb78c7aea /index.php
parentd5ce28df67fcddfb957ce28424f3e5751f433695 (diff)
downloadwallabag-ce4a1dcc193d3124fc51c4942137621d3d806a19.tar.gz
wallabag-ce4a1dcc193d3124fc51c4942137621d3d806a19.tar.zst
wallabag-ce4a1dcc193d3124fc51c4942137621d3d806a19.zip
changes to add url directly from poche
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/index.php b/index.php
index e81a9247..7b775c41 100644
--- a/index.php
+++ b/index.php
@@ -43,9 +43,10 @@ elseif (isset($_GET['import'])) {
43elseif (isset($_GET['export'])) { 43elseif (isset($_GET['export'])) {
44 $poche->export(); 44 $poche->export();
45} 45}
46 46elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) {
47if (isset($_GET['plainurl'])){ 47 $plain_url = new Url(base64_encode($_GET['plainurl']));
48 $poche->convertURLToBase64($_GET['plainurl']);} 48 $poche->action('add', $plain_url);
49}
49 50
50# vars to send to templates 51# vars to send to templates
51$tpl_vars = array( 52$tpl_vars = array(