aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-07-09 18:27:57 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-07-09 18:27:57 +0000
commitec4eabe4ceedbce15f4b0e185938cc1fce818923 (patch)
tree299c4de6fefb59910185720dc5356a4996314f97
parent61703b1ed28ed3327f121acb7329dc04d387f418 (diff)
downloadforums-ec4eabe4ceedbce15f4b0e185938cc1fce818923.tar
forums-ec4eabe4ceedbce15f4b0e185938cc1fce818923.tar.gz
forums-ec4eabe4ceedbce15f4b0e185938cc1fce818923.tar.bz2
forums-ec4eabe4ceedbce15f4b0e185938cc1fce818923.tar.xz
forums-ec4eabe4ceedbce15f4b0e185938cc1fce818923.zip
#12675
git-svn-id: file:///svn/phpbb/trunk@7853 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/includes/template.php2
2 files changed, 3 insertions, 0 deletions
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 {
<li>[Fix] Hide autologin box when autologin is disabled (Bug #13093)</li>
<li>[Fix] Account for the forum id not being part of the request uri in prosilver (Bug #13121)</li>
<li>[Fix] Properly alter PostgreSQL tables</li>
+ <li>[Fix] Properly cache template files that were stored in the database (Bug #12675)</li>
</ul>
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']]);
}
}