Skip to content

Commit

Permalink
Removing conditional check around customs session handler.
Browse files Browse the repository at this point in the history
Fixes issues where session configuration would be omitted.
Fixes #1240
  • Loading branch information
markstory committed Oct 29, 2010
1 parent 6a0ae7d commit 83af94d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cake/libs/session.php
Expand Up @@ -534,12 +534,10 @@ function __initSession() {
array('Cache', 'gc'));
break;
default:
if (empty($_SESSION)) {
$config = CONFIGS . Configure::read('Session.save') . '.php';
$config = CONFIGS . Configure::read('Session.save') . '.php';

if (is_file($config)) {
require($config);
}
if (is_file($config)) {
require($config);
}
break;
}
Expand Down

0 comments on commit 83af94d

Please sign in to comment.