diff options
Diffstat (limited to 'include/common.inc.php')
-rw-r--r-- | include/common.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index a86bbc9ac..3b6900000 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -220,6 +220,12 @@ if ($user['is_the_guest']) $user['username'] = $lang['guest']; } +// include template/theme configuration +list($user['template'], $user['theme']) = explode('/', $user['template']); +// TODO : replace initial $user['template'] by $user['layout'] + +include(PHPWG_ROOT_PATH.'template/'.$user['template'].'/theme/'.$user['theme'].'/themeconf.inc.php'); + // template instance $template = new Template(PHPWG_ROOT_PATH.'template/'.$user['template']); ?> |