mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
6d867d72a9
commit
c7307742e2
1 changed files with 2 additions and 1 deletions
|
@ -59,6 +59,7 @@ class SessionHelper extends CakeSession {
|
||||||
function __construct($base = null) {
|
function __construct($base = null) {
|
||||||
if (Configure::read('Session.start') === true) {
|
if (Configure::read('Session.start') === true) {
|
||||||
parent::__construct($base, false);
|
parent::__construct($base, false);
|
||||||
|
parent::start();
|
||||||
} else {
|
} else {
|
||||||
$this->__active = false;
|
$this->__active = false;
|
||||||
}
|
}
|
||||||
|
@ -181,4 +182,4 @@ class SessionHelper extends CakeSession {
|
||||||
return parent::id();
|
return parent::id();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue