Changing require_once to require for custom session handlers. If you are using a class to do your custom session handling you must include checks to prevent duplicate class errors. Fixes #324

This commit is contained in:
mark_story 2009-11-22 12:25:53 -05:00
parent a30aec99fd
commit 7e889d8495

View file

@ -520,7 +520,7 @@ class CakeSession extends Object {
$config = CONFIGS . Configure::read('Session.save') . '.php'; $config = CONFIGS . Configure::read('Session.save') . '.php';
if (is_file($config)) { if (is_file($config)) {
require_once ($config); require($config);
} }
} }
break; break;