aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_user.inc.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 750f4602f..2a44c785a 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -208,10 +208,7 @@ function check_login_authorization($guest_allowed = true)
function setup_style($style)
{
- $template_path = 'template/' ;
- $template_name = $style ;
- $template = new Template(PHPWG_ROOT_PATH . $template_path . $template_name);
- return $template;
+ return new Template(PHPWG_ROOT_PATH.'template/'.$style);
}
function getuserdata($user)