aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2015-11-10 18:53:33 +0100
committerMaZderMind2015-11-10 18:53:33 +0100
commita16d784ae8bb17db0cdb276ea0fc886965d069a6 (patch)
treee457f21cc839aa29ce06d726aef2ac68893b9480 /index.php
parentafc1a5caf3feaabf2768560705bdb92a2607a19c (diff)
fix ssl-links in multi-mandator-mode
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
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),
));
}