1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

changed the cache files to save some memory (all global ones are hold in memory, doubling it).

git-svn-id: file:///svn/phpbb/trunk@7386 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-04-22 18:09:03 +00:00
parent 5742dcd68a
commit 5cb586461b
10 changed files with 34 additions and 26 deletions

View File

@@ -29,7 +29,7 @@ class auth
$this->acl = $this->cache = $this->acl_options = array();
$this->acl_forum_ids = false;
if (($this->acl_options = $cache->get('acl_options')) === false)
if (($this->acl_options = $cache->get('_acl_options')) === false)
{
$sql = 'SELECT auth_option, is_global, is_local
FROM ' . ACL_OPTIONS_TABLE . '
@@ -52,7 +52,7 @@ class auth
}
$db->sql_freeresult($result);
$cache->put('acl_options', $this->acl_options);
$cache->put('_acl_options', $this->acl_options);
$this->acl_cache($userdata);
}
else if (!trim($userdata['user_permissions']))