X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=7b775c41609868000250babef09c7e1cd77006ca;hb=b9523a0ba09b5641e93fcd8300dd1a9f5145da2d;hp=5f43b7400c007887e94fe364bb66aabb78635499;hpb=746f93c290881d97997b8179395de2875eb57c71;p=github%2Fwallabag%2Fwallabag.git 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'])) { elseif (isset($_GET['export'])) { $poche->export(); } +elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) { + $plain_url = new Url(base64_encode($_GET['plainurl'])); + $poche->action('add', $plain_url); +} # vars to send to templates $tpl_vars = array(