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
$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'
);