mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
small fix: problem with undefined constant in public zone.
git-svn-id: http://piwigo.org/svn/trunk@1366 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user