diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-07-21 10:58:31 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-07-21 10:58:31 +0000 |
commit | b613781d3af6d7c5e5d9d0fa1592e78b54647c0f (patch) | |
tree | af8899a221692ce1ec96e53d3ccf940b2f258611 /phpBB/includes/template.php | |
parent | 269c2c294457d0f31348f6bcd805f6800fd3087d (diff) | |
download | forums-b613781d3af6d7c5e5d9d0fa1592e78b54647c0f.tar forums-b613781d3af6d7c5e5d9d0fa1592e78b54647c0f.tar.gz forums-b613781d3af6d7c5e5d9d0fa1592e78b54647c0f.tar.bz2 forums-b613781d3af6d7c5e5d9d0fa1592e78b54647c0f.tar.xz forums-b613781d3af6d7c5e5d9d0fa1592e78b54647c0f.zip |
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
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r-- | phpBB/includes/template.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 0263783849..7cf865072f 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -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; } |