Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 7e889d849557f97a2f46166cef8c4bfd37b35a9e 1 parent a30aec9
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/libs/session.php
View
2  cake/libs/session.php
@@ -520,7 +520,7 @@ function __initSession() {
$config = CONFIGS . Configure::read('Session.save') . '.php';
if (is_file($config)) {
- require_once ($config);
+ require($config);
}
}
break;
Please sign in to comment.
Something went wrong with that request. Please try again.