Skip to content

Commit

Permalink
Fixing issue where sessions were not correctly started.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 20, 2009
1 parent 5049265 commit 06fb86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/session.php
Expand Up @@ -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');
}
Expand Down

0 comments on commit 06fb86f

Please sign in to comment.