openbsd-ports/mail/roundcubemail/patches/patch-program_include_session_inc
2009-09-05 15:46:24 +00:00

14 lines
563 B
Plaintext

$OpenBSD: patch-program_include_session_inc,v 1.6 2009/09/05 15:46:24 sthen Exp $
--- program/include/session.inc.orig Fri May 29 20:10:24 2009
+++ program/include/session.inc Mon Aug 3 15:53:03 2009
@@ -264,6 +264,9 @@ function rcube_sess_regenerate_id()
return true;
}
+// needed for downloading attachments over HTTPS
+session_cache_limiter('private');
+
// set custom functions for PHP session management
session_set_save_handler('rcube_sess_open', 'rcube_sess_close', 'rcube_sess_read', 'rcube_sess_write', 'rcube_sess_destroy', 'rcube_sess_gc');