]> git.mxchange.org Git - friendica.git/blobdiff - mod/bookmarklet.php
Better content detection for posts to Twitter
[friendica.git] / mod / bookmarklet.php
index e9c14e47b75539fac742446222cc2cdfe71c6f3c..785a2fbea1014d0e8bce535617f259616dd3cc64 100644 (file)
@@ -18,7 +18,7 @@ function bookmarklet_content(App $a) {
        }
 
        $referer = normalise_link($_SERVER["HTTP_REFERER"]);
-       $page = normalise_link(App::get_baseurl()."/bookmarklet");
+       $page = normalise_link(System::baseUrl()."/bookmarklet");
 
        if (!strstr($referer, $page)) {
                $content = add_page_info($_REQUEST["url"]);