aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
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(