1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

Preserve newlines in template files (one newline had been always dropped after a template variable due to PHP's handling of closing tags)

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9811 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2009-07-21 10:58:31 +00:00
parent 269c2c2944
commit b613781d3a
3 changed files with 12 additions and 2 deletions

View File

@@ -82,6 +82,8 @@ class template
$this->root = $template_path;
$this->cachepath = $phpbb_root_path . 'cache/ctpl_' . str_replace('_', '-', $template_name) . '_';
$this->_rootref = &$this->_tpldata['.'][0];
return true;
}