Browse Source

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

Signed-off-by: Roland Haeder <roland@mxchange.org>
pull/3043/head
Roland Haeder 4 years ago
parent
commit
7c342600c3
No known key found for this signature in database GPG Key ID: B72F8185C6C7BD78
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      include/poller.php
  2. +1
    -1
      mod/proxy.php

+ 1
- 1
include/poller.php 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);
}


+ 1
- 1
mod/proxy.php 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);
}


Loading…
Cancel
Save