Permalink
Browse files

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
  • Loading branch information...
1 parent a30aec9 commit 7e889d849557f97a2f46166cef8c4bfd37b35a9e @markstory markstory committed Nov 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/session.php
View
@@ -520,7 +520,7 @@ function __initSession() {
$config = CONFIGS . Configure::read('Session.save') . '.php';
if (is_file($config)) {
- require_once ($config);
+ require($config);
}
}
break;

0 comments on commit 7e889d8

Please sign in to comment.