*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
@@ -15,7 +15,7 @@ function bookmarklet_content(&$a) {
|
||||
}
|
||||
|
||||
$referer = normalise_link($_SERVER["HTTP_REFERER"]);
|
||||
$page = normalise_link($a->get_baseurl()."/bookmarklet");
|
||||
$page = normalise_link(App::get_baseurl()."/bookmarklet");
|
||||
|
||||
if (!strstr($referer, $page)) {
|
||||
$content = add_page_info($_REQUEST["url"]);
|
||||
|
||||
Reference in New Issue
Block a user