aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/page_tail.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-02-21 01:51:46 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-02-21 01:51:46 +0000
commit0101c669cc2cf4efa0a6246e5304463b66d83c35 (patch)
treeb604f64efaea888466bfefaeb98ac9934d13d76c /phpBB/includes/page_tail.php
parent389095086db061f31cb9dde6003f44298821ab93 (diff)
downloadforums-0101c669cc2cf4efa0a6246e5304463b66d83c35.tar
forums-0101c669cc2cf4efa0a6246e5304463b66d83c35.tar.gz
forums-0101c669cc2cf4efa0a6246e5304463b66d83c35.tar.bz2
forums-0101c669cc2cf4efa0a6246e5304463b66d83c35.tar.xz
forums-0101c669cc2cf4efa0a6246e5304463b66d83c35.zip
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
Diffstat (limited to 'phpBB/includes/page_tail.php')
-rw-r--r--phpBB/includes/page_tail.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/phpBB/includes/page_tail.php b/phpBB/includes/page_tail.php
index e0591dfa76..65a359acc2 100644
--- a/phpBB/includes/page_tail.php
+++ b/phpBB/includes/page_tail.php
@@ -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;