fix for drupal
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 13 Jun 2008 12:36:02 +0000 (12:36 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 13 Jun 2008 12:36:02 +0000 (12:36 +0000)
includes/bootstrap.inc

index 71b86ef..dd7a477 100644 (file)
@@ -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;