From a16d784ae8bb17db0cdb276ea0fc886965d069a6 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 10 Nov 2015 18:53:33 +0100 Subject: fix ssl-links in multi-mandator-mode --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index c3199ee..f9e416f 100644 --- a/index.php +++ b/index.php @@ -125,8 +125,8 @@ $tpl->set(array( if(startswith('//', @$GLOBALS['CONFIG']['BASEURL'])) { $tpl->set(array( - 'httpsurl' => forceslash('https:'.$GLOBALS['CONFIG']['BASEURL']).forceslash($route), - 'httpurl' => forceslash('http:'. $GLOBALS['CONFIG']['BASEURL']).forceslash($route), + 'httpsurl' => forceslash(forceslash('https:'.$GLOBALS['CONFIG']['BASEURL']).@$GLOBALS['MANDATOR']).forceslash($route), + 'httpurl' => forceslash(forceslash('http:'. $GLOBALS['CONFIG']['BASEURL']).@$GLOBALS['MANDATOR']).forceslash($route), )); } -- cgit v1.2.3