aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2016-10-17 23:16:37 +0200
committerMaZderMind2016-10-17 23:16:37 +0200
commit6862b72e5210c154dfa99b5415e1b99259ca7829 (patch)
tree41d8847545a475352a7c92258c6a2dffb38c9009 /index.php
parentcfb0b6ce7e10cd29ad96267367720f97a6d23992 (diff)
pass forceopen on to http/https-url
Diffstat (limited to '')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 5935c79..9a5e304 100644
--- a/index.php
+++ b/index.php
@@ -67,8 +67,8 @@ try {
if(startswith('//', @$GLOBALS['CONFIG']['BASEURL']))
{
$tpl->set(array(
- 'httpsurl' => forceslash(forceslash('https:'.$GLOBALS['CONFIG']['BASEURL']).@$GLOBALS['MANDATOR']).forceslash($route),
- 'httpurl' => forceslash(forceslash('http:'. $GLOBALS['CONFIG']['BASEURL']).@$GLOBALS['MANDATOR']).forceslash($route),
+ 'httpsurl' => forceslash(forceslash('https:'.$GLOBALS['CONFIG']['BASEURL']).@$GLOBALS['MANDATOR']).forceslash($route).url_params(),
+ 'httpurl' => forceslash(forceslash('http:'. $GLOBALS['CONFIG']['BASEURL']).@$GLOBALS['MANDATOR']).forceslash($route).url_params(),
));
}