mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +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:
@@ -28,7 +28,7 @@
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
if (IN_ADMIN)
|
||||
if (defined('IN_ADMIN') && IN_ADMIN)
|
||||
{
|
||||
$template->set_rootdir(PHPWG_ROOT_PATH.'template/admin/'.$user['template']);
|
||||
$template->set_filenames(array('header'=>'header.tpl'));
|
||||
|
||||
Reference in New Issue
Block a user