From c68604d8f52272e4aab5c8bfa16ab35814f4ea5b Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 21 Nov 2011 20:23:02 +0100 Subject: [PATCH] Fixed session handler issue --- wcfsetup/install/files/lib/data/user/User.class.php | 2 +- .../install/files/lib/system/session/SessionHandler.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index 8731134481..8af6960931 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -109,7 +109,7 @@ final class User extends DatabaseObject { if ($this->groupIDs === null) { if (!$this->userID) { // user is a guest, use default guest group - $this->groupIDs = UserGroup::getGroupIDsByType(array(UserGroup::GUESTS)); + $this->groupIDs = UserGroup::getGroupIDsByType(array(UserGroup::GUESTS, UserGroup::EVERYONE)); } else { // load storage data diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 1b828a9329..ca1f6a1ee5 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -400,7 +400,7 @@ class SessionHandler extends SingletonFactory { $cacheName = 'groups-'.PACKAGE_ID.'-'.$groups; CacheHandler::getInstance()->addResource( $cacheName, - WCF_DIR.'cache/cache.'.$cacheName.'.php', + WCF_DIR.'cache/cache.groups-'.PACKAGE_ID.'-'.$groupsFileName.'.php', 'wcf\system\cache\builder\UserGroupPermissionCacheBuilder' ); -- 2.20.1