Skip to content

Commit

Permalink
Fixed issue: HTTPS setting causing session problems
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8907 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jul 7, 2010
1 parent 8844c56 commit 2ab6b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-defaults.php
Expand Up @@ -427,7 +427,7 @@

//DO NOT EVER CHANGE THE FOLLOWING FOUR LINES ---------------
require_once(dirname(__FILE__).'/config.php');
if ($_SERVER['HTTPS']=='on')
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$rooturl='https'.substr($rooturl,4);
}
Expand Down

0 comments on commit 2ab6b23

Please sign in to comment.