aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-01-10 12:23:24 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-01-10 12:23:24 +0000
commit994973d8ee97dd3fe88a08d9171fb918b90b0c28 (patch)
tree66eb93eb31042ae8d3eda522e4305e0b4e741884 /phpBB/includes/template.php
parent62429cb9fbec7192478bbdf9148324300445485f (diff)
downloadforums-994973d8ee97dd3fe88a08d9171fb918b90b0c28.tar
forums-994973d8ee97dd3fe88a08d9171fb918b90b0c28.tar.gz
forums-994973d8ee97dd3fe88a08d9171fb918b90b0c28.tar.bz2
forums-994973d8ee97dd3fe88a08d9171fb918b90b0c28.tar.xz
forums-994973d8ee97dd3fe88a08d9171fb918b90b0c28.zip
custom profile fields.
Not finished, committed to let us discuss about the next steps -> BartVB git-svn-id: file:///svn/phpbb/trunk@4740 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r--phpBB/includes/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index 6d06d918cc..07d8a49c17 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -112,13 +112,13 @@ class template
// Methods for loading and evaluating the templates
- function display($handle)
+ function display($handle, $include_once = true)
{
global $user;
if ($filename = $this->_tpl_load($handle))
{
- include_once($filename);
+ ($include_once) ? include_once($filename) : include($filename);
}
else
{