From d5a24412fd694bde5ff672fa56d08ad2325c2e31 Mon Sep 17 00:00:00 2001 From: Evan Wills Date: Fri, 9 Jul 2010 20:59:28 +0000 Subject: [PATCH] updated feature: ssl. used same metod to rewrite URLs as in ls 1.90rc2 Dev changed str_replace() to substr() git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@8915 b72ed6b6-b9f8-46b5-92b4-906544132732 --- config-defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-defaults.php b/config-defaults.php index e8062d67bfb..5f13618feb5 100644 --- a/config-defaults.php +++ b/config-defaults.php @@ -504,7 +504,7 @@ if( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { - $rooturl = str_replace('http://','https://',$rooturl); + $rooturl='https'.substr($rooturl,4); }; // === Advanced Setup