]> git.mxchange.org Git - friendica.git/commitdiff
used more App::get_baseurl() instead of get_app()->get_baseurl().
authorRoland Haeder <roland@mxchange.org>
Tue, 20 Dec 2016 20:51:25 +0000 (21:51 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 20 Dec 2016 20:51:25 +0000 (21:51 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
include/poller.php
mod/proxy.php

index d00360d2b7414835173767faaa8262417ce1ef87..b631d2acd15637dad371c7cb122be456d45e22bf 100644 (file)
@@ -484,7 +484,7 @@ function call_worker() {
                return;
        }
 
-       $url = get_app()->get_baseurl()."/worker";
+       $url = App::get_baseurl()."/worker";
        fetch_url($url, false, $redirects, 1);
 }
 
index d57d9baec5f3b26f43674252af48f9a2c5d20d47..af0f9126164a8813a01778027e7851cec90409b2 100644 (file)
@@ -326,7 +326,7 @@ function proxy_is_local_image($url) {
        if (strtolower(substr($url, 0, 5)) == "data:") return true;
 
        // links normalised - bug #431
-       $baseurl = normalise_link(get_app()->get_baseurl());
+       $baseurl = normalise_link(App::get_baseurl());
        $url = normalise_link($url);
        return (substr($url, 0, strlen($baseurl)) == $baseurl);
 }