used more App::get_baseurl() instead of get_app()->get_baseurl().

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 21:51:25 +01:00
parent 9814414b6a
commit 7c342600c3
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
2 changed files with 2 additions and 2 deletions

View 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);
}

View 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);
}