mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
display language variables correctly if template is re-cached.
git-svn-id: file:///svn/phpbb/trunk@3571 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
773093a5ef
commit
d4884b0c02
1 changed files with 2 additions and 4 deletions
|
@ -177,6 +177,8 @@ class Template {
|
||||||
|
|
||||||
if (!$this->compile_load($_str, $handle, true))
|
if (!$this->compile_load($_str, $handle, true))
|
||||||
{
|
{
|
||||||
|
global $user;
|
||||||
|
|
||||||
if (!$this->loadfile($handle))
|
if (!$this->loadfile($handle))
|
||||||
{
|
{
|
||||||
trigger_error("Template->pparse(): Couldn't load template file for handle $handle", E_USER_ERROR);
|
trigger_error("Template->pparse(): Couldn't load template file for handle $handle", E_USER_ERROR);
|
||||||
|
@ -724,10 +726,6 @@ class Template {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function compile_cache_clear($mode, &$dir, &$template)
|
function compile_cache_clear($mode, &$dir, &$template)
|
||||||
{
|
{
|
||||||
$template_list = array();
|
$template_list = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue