From 6862b72e5210c154dfa99b5415e1b99259ca7829 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 17 Oct 2016 23:16:37 +0200 Subject: pass forceopen on to http/https-url --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') 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(), )); } -- cgit v1.2.3