aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-10-22 13:32:33 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-10-22 13:32:33 +0000
commit22129be21f3d08a27681e0ac6ba8ad401ed8ba96 (patch)
tree95b2aba768ebb29a024f96a804d9e4291b286d12 /phpBB/includes/template.php
parent44ea780de626a450e17154e5154f3becbd512476 (diff)
downloadforums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.tar
forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.tar.gz
forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.tar.bz2
forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.tar.xz
forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.zip
- now username changes should work as desired
- removed some extract() calls git-svn-id: file:///svn/phpbb/trunk@6517 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r--phpBB/includes/template.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index 6c7558faa3..36a0b8920b 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -197,7 +197,11 @@ class template
global $db, $phpbb_root_path;
- include_once($phpbb_root_path . 'includes/functions_template.' . $phpEx);
+ if (!class_exists('template_compile'))
+ {
+ include($phpbb_root_path . 'includes/functions_template.' . $phpEx);
+ }
+
$compile = new template_compile($this);
// If the file for this handle is already loaded and compiled, do nothing.