X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=7b775c41609868000250babef09c7e1cd77006ca;hb=48207b6814eeaef30a0baf64c3ed1e1d148de6fe;hp=5f43b7400c007887e94fe364bb66aabb78635499;hpb=fd99a8c02d7c625771656a5c5081560027d8e6e9;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(