Adding fix for Undefined variable: _SESSION

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5986 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-11-12 05:31:35 +00:00
parent 6d867d72a9
commit c7307742e2

View file

@ -59,6 +59,7 @@ class SessionHelper extends CakeSession {
function __construct($base = null) {
if (Configure::read('Session.start') === true) {
parent::__construct($base, false);
parent::start();
} else {
$this->__active = false;
}
@ -181,4 +182,4 @@ class SessionHelper extends CakeSession {
return parent::id();
}
}
?>
?>