From: Thierry Parmentelat Date: Fri, 13 Jun 2008 12:36:02 +0000 (+0000) Subject: fix for drupal X-Git-Tag: PLEWWW-PLE.5.0-0~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=367a58f10b2a99ea25964034f0a759b8070e1c1f;p=plewww.git fix for drupal --- diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 71b86ef..dd7a477 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -745,6 +745,7 @@ function _drupal_bootstrap($phase) { case DRUPAL_BOOTSTRAP_SESSION: require_once './includes/session.inc'; session_set_save_handler("sess_open", "sess_close", "sess_read", "sess_write", "sess_destroy", "sess_gc"); + register_shutdown_function('session_write_close'); session_start(); break;