1
0
Fork 0

Adapt BaseURL calls to new UriInterface

This commit is contained in:
Philipp Holzer 2023-02-18 20:57:30 +01:00
commit f0c29edcde
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
101 changed files with 218 additions and 241 deletions

View file

@ -47,7 +47,7 @@ class Bookmarklet extends BaseModule
}
$referer = Strings::normaliseLink($_SERVER['HTTP_REFERER'] ?? '');
$page = Strings::normaliseLink(DI::baseUrl()->get() . "/bookmarklet");
$page = Strings::normaliseLink(DI::baseUrl() . "/bookmarklet");
if (!strstr($referer, $page)) {
if (empty($_REQUEST["url"])) {