openbsd-ports/mail/roundcubemail/patches/patch-program_include_session_inc

14 lines
563 B
Plaintext

$OpenBSD: patch-program_include_session_inc,v 1.4 2008/09/22 13:53:02 sthen Exp $
--- program/include/session.inc.orig Thu Sep 18 12:54:14 2008
+++ program/include/session.inc Sun Sep 21 20:35:56 2008
@@ -190,6 +190,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');