Changeset 3096 in subversion
- Timestamp:
- Nov 4, 2009 2:22:17 AM (4 years ago)
- Location:
- trunk/roundcubemail/program/include
- Files:
-
- 3 edited
-
iniset.php (modified) (1 diff)
-
main.inc (modified) (1 diff)
-
rcmail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/iniset.php
r2979 r3096 52 52 53 53 ini_set('error_reporting', E_ALL&~E_NOTICE); 54 if (isset($_SERVER['HTTPS'])) {55 ini_set('session.cookie_secure', ($_SERVER['HTTPS'] && ($_SERVER['HTTPS'] != 'off'))?1:0);54 if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off') { 55 ini_set('session.cookie_secure', 1); 56 56 } else { 57 57 ini_set('session.cookie_secure', 0); -
trunk/roundcubemail/program/include/main.inc
r3063 r3096 1411 1411 global $RCMAIL; 1412 1412 1413 if ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']!= 'off')1413 if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off') 1414 1414 return true; 1415 1415 if ($port && $_SERVER['SERVER_PORT'] == $port) -
trunk/roundcubemail/program/include/rcmail.php
r2989 r3096 1064 1064 $cookie = session_get_cookie_params(); 1065 1065 setcookie($name, $value, $exp, $cookie['path'], $cookie['domain'], 1066 ($_SERVER['HTTPS'] && ($_SERVER['HTTPS'] != 'off')));1066 rcube_https_check()); 1067 1067 } 1068 1068 }
Note: See TracChangeset
for help on using the changeset viewer.
