X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fbookmarklet.php;h=c4ef8457044ed64913eb15f3af0c385a69f5c74d;hb=da30538a980264da72a7c370013e60b2cb55aafa;hp=4db6bf401eef49d976e2f6e5f18c3abbb5590fb4;hpb=0c764684bb32a9432fd161e62db907efb78af1a5;p=friendica.git diff --git a/mod/bookmarklet.php b/mod/bookmarklet.php index 4db6bf401e..c4ef845704 100644 --- a/mod/bookmarklet.php +++ b/mod/bookmarklet.php @@ -1,23 +1,21 @@ '.t('Login').''; $o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true); return $o; } $referer = normalise_link($_SERVER["HTTP_REFERER"]); - $page = normalise_link($a->get_baseurl()."/bookmarklet"); + $page = normalise_link(App::get_baseurl()."/bookmarklet"); if (!strstr($referer, $page)) { $content = add_page_info($_REQUEST["url"]); @@ -46,4 +44,3 @@ function bookmarklet_content(&$a) { return $o; } -}