From 367a58f10b2a99ea25964034f0a759b8070e1c1f Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 13 Jun 2008 12:36:02 +0000 Subject: [PATCH] fix for drupal --- includes/bootstrap.inc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.43.0