used more App::get_baseurl() instead of get_app()->get_baseurl().
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
9814414b6a
commit
7c342600c3
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue