Skip to content

Commit

Permalink
Dev: Root url can already be https, resulting in error (httpss) so re…
Browse files Browse the repository at this point in the history
…place is safer

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8935 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
mennodekker committed Jul 14, 2010
1 parent 0e3f12f commit 9300814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-defaults.php
Expand Up @@ -429,7 +429,7 @@
require_once(dirname(__FILE__).'/config.php');
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$rooturl='https'.substr($rooturl,4);
$rooturl=str_replace('http://', 'https://', $rooturl);
}
//-----------------------------------------------------

Expand Down

0 comments on commit 9300814

Please sign in to comment.