aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 5f43b740..7b775c41 100644
--- a/index.php
+++ b/index.php
@@ -43,6 +43,10 @@ elseif (isset($_GET['import'])) {
43elseif (isset($_GET['export'])) { 43elseif (isset($_GET['export'])) {
44 $poche->export(); 44 $poche->export();
45} 45}
46elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) {
47 $plain_url = new Url(base64_encode($_GET['plainurl']));
48 $poche->action('add', $plain_url);
49}
46 50
47# vars to send to templates 51# vars to send to templates
48$tpl_vars = array( 52$tpl_vars = array(