Changeset 3208 in subversion for trunk/roundcubemail/index.php
- Timestamp:
- Jan 17, 2010 7:30:41 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/index.php
r3063 r3208 68 68 $https_port = is_bool($force_https) ? 443 : $force_https; 69 69 if (!rcube_https_check($https_port)) { 70 header('Location: https://' . $_SERVER['HTTP_HOST'] . ($https_port != 443 ? ':' . $https_port : '') . $_SERVER['REQUEST_URI']); 70 $host = preg_replace('/:[0-9]+$/', '', $_SERVER['HTTP_HOST']); 71 $host .= ($https_port != 443 ? ':' . $https_port : ''); 72 header('Location: https://' . $host . $_SERVER['REQUEST_URI']); 71 73 exit; 72 74 }
Note: See TracChangeset
for help on using the changeset viewer.
