From 98b5d375e4a0725809cd222a573902f0fdae898a Mon Sep 17 00:00:00 2001 From: nikrou Date: Sun, 18 Jun 2006 18:39:43 +0000 Subject: small fix: problem with undefined constant in public zone. git-svn-id: http://piwigo.org/svn/trunk@1366 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/page_header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/page_header.php') diff --git a/include/page_header.php b/include/page_header.php index e4833e9c1..89358697b 100644 --- a/include/page_header.php +++ b/include/page_header.php @@ -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')); -- cgit v1.2.3