diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-22 18:09:03 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-22 18:09:03 +0000 |
| commit | 5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81 (patch) | |
| tree | 2f4f211b7d2e9b1ed22ea0b7927ce1481e1e8182 /phpBB/includes/auth.php | |
| parent | 5742dcd68a674b31b91fc39978aeaf6d74c48ceb (diff) | |
| download | forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.gz forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.bz2 forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.xz forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.zip | |
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
Diffstat (limited to 'phpBB/includes/auth.php')
| -rw-r--r-- | phpBB/includes/auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php index f28f449fba..3d508a23ce 100644 --- a/phpBB/includes/auth.php +++ b/phpBB/includes/auth.php @@ -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'])) |
