diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -43,9 +43,10 @@ elseif (isset($_GET['import'])) { | |||
43 | elseif (isset($_GET['export'])) { | 43 | elseif (isset($_GET['export'])) { |
44 | $poche->export(); | 44 | $poche->export(); |
45 | } | 45 | } |
46 | 46 | elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) { | |
47 | if (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( |