mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 19:38:49 +00:00
remove z_root()
This commit is contained in:
parent
a8282d143e
commit
e4afd1c120
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ function openstreetmap_generate_map(&$a, &$b)
|
|||
{
|
||||
$tmsserver = Config::get('openstreetmap', 'tmsserver', OSM_TMS);
|
||||
|
||||
if (strpos(z_root(), 'https:') !== false) {
|
||||
if (strpos($a->getBaseURL(true), 'https:') !== false) {
|
||||
$tmsserver = str_replace('http:','https:',$tmsserver);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue