mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +00:00
Adapt BaseURL calls to new UriInterface
This commit is contained in:
parent
9e6d95284b
commit
f0c29edcde
101 changed files with 218 additions and 241 deletions
|
@ -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"])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue