diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2003-02-27 20:14:08 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-02-27 20:14:08 +0000 |
commit | d4884b0c02cb0024ed5467d8d0230a5290610546 (patch) | |
tree | fbb315adc2af0d3ac17b44862b63995f4368900a /phpBB/includes/template.php | |
parent | 773093a5ef25babed1ade72e78477f45dab777b0 (diff) | |
download | forums-d4884b0c02cb0024ed5467d8d0230a5290610546.tar forums-d4884b0c02cb0024ed5467d8d0230a5290610546.tar.gz forums-d4884b0c02cb0024ed5467d8d0230a5290610546.tar.bz2 forums-d4884b0c02cb0024ed5467d8d0230a5290610546.tar.xz forums-d4884b0c02cb0024ed5467d8d0230a5290610546.zip |
display language variables correctly if template is re-cached.
git-svn-id: file:///svn/phpbb/trunk@3571 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r-- | phpBB/includes/template.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 3060c31510..fa33f57800 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -177,6 +177,8 @@ class Template { if (!$this->compile_load($_str, $handle, true)) { + global $user; + if (!$this->loadfile($handle)) { trigger_error("Template->pparse(): Couldn't load template file for handle $handle", E_USER_ERROR); @@ -724,10 +726,6 @@ class Template { return; } - - - - function compile_cache_clear($mode, &$dir, &$template) { $template_list = array(); |