Changeset 6121 in subversion
- Timestamp:
- Apr 24, 2012 2:40:56 AM (14 months ago)
- Location:
- trunk/roundcubemail/program/include
- Files:
-
- 3 edited
-
rcube.php (modified) (1 diff)
-
rcube_bc.inc (modified) (1 diff)
-
rcube_output.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube.php
r6105 r6121 349 349 $options['ssl'] = $_SESSION['storage_ssl']; 350 350 $options['password'] = $this->decrypt($_SESSION['password']); 351 $_SESSION[$driver.'_host'] = $_SESSION['storage_host']; 351 352 } 352 353 -
trunk/roundcubemail/program/include/rcube_bc.inc
r6091 r6121 386 386 return rcube_utils::idn_to_utf8($str); 387 387 } 388 389 function send_future_expire_header($offset = 2600000) 390 { 391 return rcmail::get_instance()->output->future_expire_header($offset); 392 } -
trunk/roundcubemail/program/include/rcube_output.php
r6091 r6121 238 238 } 239 239 240 /** 241 * Send header with expire date 30 days in future 242 * 243 * @param int Expiration time in seconds 244 */ 245 public function future_expire_header($offset = 2600000) 246 { 247 if (headers_sent()) 248 return; 249 250 header("Expires: " . gmdate("D, d M Y H:i:s", time()+$offset) . " GMT"); 251 header("Cache-Control: max-age=$offset"); 252 header("Pragma: "); 253 } 254 240 255 241 256 /**
Note: See TracChangeset
for help on using the changeset viewer.
