diff options
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 285d1bdb3..d87b8728a 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -189,14 +189,14 @@ if (is_a_guest()) // template instance if ( - defined('IN_ADMIN') and IN_ADMIN + defined('IN_ADMIN') and IN_ADMIN ) { // Admin template //$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['admin_template'], $user['admin_theme'] ); list($user['admin_template'], $user['admin_theme']) = explode ('/', $conf['admin_layout']); - $template = new Template(PHPWG_ROOT_PATH.'admin/template/' + $template = new Template(PHPWG_ROOT_PATH.'admin/template/' . $user['admin_template'], $user['admin_theme'] ); } else @@ -263,7 +263,6 @@ if (count($header_msgs) > 0) if (!empty($conf['filter_pages']) and get_filter_page_value('used')) { - include(PHPWG_ROOT_PATH.'include/functions_filter.inc.php'); include(PHPWG_ROOT_PATH.'include/filter.inc.php'); } else |