Permalink
Browse files

Fixing issue where sessions were not correctly started.

  • Loading branch information...
1 parent 5049265 commit 06fb86f1417e695343b1bad7012307edaf280960 @markstory markstory committed Sep 20, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/session.php
View
@@ -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');
}

0 comments on commit 06fb86f

Please sign in to comment.