From ec4eabe4ceedbce15f4b0e185938cc1fce818923 Mon Sep 17 00:00:00 2001 From: David M Date: Mon, 9 Jul 2007 18:27:57 +0000 Subject: [PATCH] #12675 git-svn-id: file:///svn/phpbb/trunk@7853 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/docs/CHANGELOG.html | 1 + phpBB/includes/template.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index bcb0bcc847..7f6fc30540 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -194,6 +194,7 @@ p a {
  • [Fix] Hide autologin box when autologin is disabled (Bug #13093)
  • [Fix] Account for the forum id not being part of the request uri in prosilver (Bug #13121)
  • [Fix] Properly alter PostgreSQL tables
  • +
  • [Fix] Properly cache template files that were stored in the database (Bug #12675)
  • diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 9095a31dba..f8db087d48 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -34,6 +34,7 @@ class template var $root = ''; var $cachepath = ''; var $files = array(); + var $filename = array(); // this will hash handle names to the compiled/uncompiled code for that handle. var $compiled_code = array(); @@ -246,6 +247,7 @@ class template $compile->_tpl_load_file($row['template_filename']); unset($this->compiled_code[$row['template_filename']]); unset($this->files[$row['template_filename']]); + unset($this->filename[$row['template_filename']]); } }