Skip to content
Permalink
Browse files

Fix ticket #825. Related with session set to cache.

  • Loading branch information...
labianchin authored and markstory committed May 7, 2011
1 parent 9e4ecba commit 66de46cd5b8bc9d144b4389211585c2aa56fc512
Showing with 6 additions and 0 deletions.
  1. +6 −0 cake/libs/cache.php
@@ -548,6 +548,12 @@ function settings($name = null) {
}
return array();
}
function __destruct() {
if (Configure::read('Session.save') == 'cache' && function_exists('session_write_close')) {
session_write_close();
}
}
}
/**

0 comments on commit 66de46c

Please sign in to comment.
You can’t perform that action at this time.