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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user