diff options
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 741791161..f5abf1ee7 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -190,7 +190,13 @@ if ($user['is_the_guest']) // include template/theme configuration if (defined('IN_ADMIN') and IN_ADMIN) { - list($user['template'], $user['theme']) = explode('/', isset($conf['default_admin_layout']) ? $conf['default_admin_layout'] : $user['template']); + list($user['template'], $user['theme']) = + explode + ( + '/', + isset($conf['default_admin_layout']) ? $conf['default_admin_layout'] + : $user['template'] + ); // TODO : replace $conf['admin_layout'] by $user['admin_layout'] } else |