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

Renamed some functions in cache manager, now unloads vars properly before the page is output.

git-svn-id: file:///svn/phpbb/trunk@3479 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-02-21 01:51:46 +00:00
parent 389095086d
commit 0101c669cc
5 changed files with 59 additions and 50 deletions

View File

@@ -22,6 +22,12 @@
// Close our DB connection.
$db->sql_close();
// Unload cache
if (!empty($cache))
{
$cache->unload();
}
// Output page creation time
if (defined('DEBUG'))
{
@@ -52,10 +58,6 @@ $template->assign_vars(array(
));
if (!empty($cache))
{
$cache->save_cache();
}
$template->display('body');
exit;