From e4afd1c120e0f094ecfc3920ac98d36e3ac30c45 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sat, 13 Oct 2018 19:07:22 +0200 Subject: [PATCH] remove z_root() --- notifyall/notifyall.php | 2 +- openstreetmap/openstreetmap.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notifyall/notifyall.php b/notifyall/notifyall.php index a01930392..824e306b9 100644 --- a/notifyall/notifyall.php +++ b/notifyall/notifyall.php @@ -28,7 +28,7 @@ function notifyall_module() {} function notifyall_addon_admin(App $a, &$o) { - $o = '
    ' . L10n::t('Send email to all members') . '
'; + $o = '
    ' . L10n::t('Send email to all members') . '
'; } diff --git a/openstreetmap/openstreetmap.php b/openstreetmap/openstreetmap.php index 0420591eb..8255b940e 100644 --- a/openstreetmap/openstreetmap.php +++ b/openstreetmap/openstreetmap.php @@ -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); }