aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2001-12-10 16:52:16 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2001-12-10 16:52:16 +0000
commit7c0e6ff4db26992204005c231fa76806da83e613 (patch)
treeae4b6bc5131d19da6915247066a2d1b4ba3cc2f1 /phpBB/includes
parent3f1678141d6e81eab5afb27fa4d7af9a8103b0e8 (diff)
downloadforums-7c0e6ff4db26992204005c231fa76806da83e613.tar
forums-7c0e6ff4db26992204005c231fa76806da83e613.tar.gz
forums-7c0e6ff4db26992204005c231fa76806da83e613.tar.bz2
forums-7c0e6ff4db26992204005c231fa76806da83e613.tar.xz
forums-7c0e6ff4db26992204005c231fa76806da83e613.zip
Fixed #490848 and introduced $current_template_path
git-svn-id: file:///svn/phpbb/trunk@1547 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index ba500f1daa..8d5915368c 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -328,6 +328,7 @@ function setup_style($style)
if( $template )
{
+ $current_template_path = $template_path . $template_name . '/';
@include($phpbb_root_path . $template_path . $template_name . '/' . $template_name . '.cfg');
if( !defined("TEMPLATE_CONFIG") )
@@ -1176,4 +1177,4 @@ function message_die($msg_code, $msg_text = "", $msg_title = "", $err_line = "",
}
-?> \ No newline at end of file
+?>