From 06fb86f1417e695343b1bad7012307edaf280960 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 20 Sep 2009 11:54:26 -0400 Subject: [PATCH] Fixing issue where sessions were not correctly started. --- cake/libs/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/session.php b/cake/libs/session.php index 7df6577df57..1368656898e 100644 --- a/cake/libs/session.php +++ b/cake/libs/session.php @@ -152,7 +152,7 @@ function __construct($base = null, $start = true) { $this->host = substr($this->host, 0, strpos($this->host, ':')); } } - if (isset($_SESSION)) { + if (isset($_SESSION) || $start === true) { if (!class_exists('Security')) { App::import('Core', 'Security'); }