X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=7b775c41609868000250babef09c7e1cd77006ca;hb=d11e2bcf48badc1da0e3914eec49d9ab1d781f4d;hp=5f43b7400c007887e94fe364bb66aabb78635499;hpb=0269cd821311500acffed61edb1bc168d3fb5ec8;p=github%2Fwallabag%2Fwallabag.git diff --git a/index.php b/index.php old mode 100755 new mode 100644 index 5f43b740..7b775c41 --- 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(