aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/common.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 4fa11cec3..4a0c54a44 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -201,7 +201,7 @@ if ($user['is_the_guest'])
list($user['template'], $user['theme']) = explode('/', $user['template']);
// TODO : replace initial $user['template'] by $user['layout']
-if (IN_ADMIN)
+if (defined('IN_ADMIN') && IN_ADMIN)
{
$template_root = 'admin';
}