aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/page_header.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/page_header.php b/include/page_header.php
index 89358697b..6a48b4b81 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -28,16 +28,7 @@
//
// Start output of page
//
-if (defined('IN_ADMIN') && IN_ADMIN)
-{
- $template->set_rootdir(PHPWG_ROOT_PATH.'template/admin/'.$user['template']);
- $template->set_filenames(array('header'=>'header.tpl'));
-}
-else
-{
- $template->set_rootdir(PHPWG_ROOT_PATH.'template/public/'.$user['template']);
- $template->set_filenames(array('header'=>'header.tpl'));
-}
+$template->set_filenames(array('header'=>'header.tpl'));
$template->assign_vars(
array(