Skip to content
Permalink
Browse files

Removing conditional check around customs session handler.

Fixes issues where session configuration would be omitted.
Fixes #1240
  • Loading branch information...
markstory committed Oct 29, 2010
1 parent 6a0ae7d commit 83af94dfd26f00d7108c17aff093e6e8e7982752
Showing with 3 additions and 5 deletions.
  1. +3 −5 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.
You can’t perform that action at this time.