Changeset e48a10a in github
- Timestamp:
- Jul 2, 2009 2:38:26 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- bd9bfcf
- Parents:
- e40091b
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rac62299 re48a10a 2 2 =========================== 3 3 4 - Added config option to enforce HTTPS connections 4 5 - Fix non-unicode characters caching in unicode database (#1484608) 5 6 - Performance improvements of messages caching -
config/main.inc.php.dist
r119cd17 re48a10a 50 50 // possible units: s, m, h, d, w 51 51 $rcmail_config['message_cache_lifetime'] = '10d'; 52 53 // enforce connections over https 54 // with this option enabled, all non-secure connections will be redirected 55 $rcmail_config['force_https'] = FALSE; 52 56 53 57 // automatically create a new RoundCube user when log-in the first time. -
index.php
r3a2b270 re48a10a 3 3 +-------------------------------------------------------------------------+ 4 4 | RoundCube Webmail IMAP Client | 5 | Version 0.3-20090 419|5 | Version 0.3-20090702 | 6 6 | | 7 7 | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland | … … 64 64 } 65 65 66 // check if https is required (for login) and redirect if necessary 67 if ($RCMAIL->config->get('force_https', false) && empty($_SESSION['user_id']) && !(isset($_SERVER['HTTPS']) || $_SERVER['SERVER_PORT'] == 443)) { 68 header('Location: https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 69 exit; 70 } 66 71 67 72 // trigger startup plugin hook
Note: See TracChangeset
for help on using the changeset viewer.
