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

- fix cookie shortening

- let the acm handle the module cache
- call $cache->save() after destroying data if necessary


git-svn-id: file:///svn/phpbb/trunk@5612 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-03-09 18:32:50 +00:00
parent b8834051eb
commit b36c02f320
7 changed files with 48 additions and 50 deletions

View File

@@ -301,7 +301,7 @@ class cache extends acm
foreach ($parsed_items as $key => $parsed_array)
{
$parsed_array = $this->get('_' . $key . '_cfg');
$parsed_array = $this->get('_cfg_' . $key);
if (!$parsed_array)
{
@@ -327,14 +327,13 @@ class cache extends acm
$parsed_array = parse_cfg_file($filename);
$parsed_array['filetime'] = @filemtime($filename);
$this->put('_' . $key . '_cfg', $parsed_array);
$this->put('_cfg_' . $key, $parsed_array);
}
$parsed_items[$key] = $parsed_array;
}
return $parsed_items;
}
}
?>