Browse files

Removing conditional check around customs session handler.

Fixes issues where session configuration would be omitted.
Fixes #1240
  • Loading branch information...
1 parent 6a0ae7d commit 83af94dfd26f00d7108c17aff093e6e8e7982752 @markstory markstory committed Oct 29, 2010
Showing with 3 additions and 5 deletions.
  1. +3 −5 cake/libs/session.php
View
8 cake/libs/session.php
@@ -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;
}

0 comments on commit 83af94d

Please sign in to comment.