]> 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:54 +0000 (21:51 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
include/poller.php
mod/proxy.php

index 44f4895cdbda1991d9d12d1c0e59dee33b055eab..a6671f5ae39c26618e35c8d9f333396c45aee432 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 ff58bba7f1b2dc627bf2ce037cb69bb8da1d470b..45c9e945690b7242938009b584aaeea5ad795bf6 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);
 }