From 7c0e6ff4db26992204005c231fa76806da83e613 Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Mon, 10 Dec 2001 16:52:16 +0000 Subject: Fixed #490848 and introduced $current_template_path git-svn-id: file:///svn/phpbb/trunk@1547 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/functions.php') 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 +?> -- cgit v1.2.1