aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-04-18 18:59:37 +0000
committernikrou <nikrou@piwigo.org>2010-04-18 18:59:37 +0000
commit94d40c0eabf5c7be4e3fcf3b50b37c38e1dfaa65 (patch)
tree71dbf8e479c9328cb63566eb142ef53df9b285e4 /include
parent43a30afea65e4466b0c91fdb4ad78e84f6c4e2cf (diff)
Bug 1617 fixed : help page is displayed in current theme in public or admin pages
git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/common.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index dddc9b6d9..878dcda12 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -152,8 +152,7 @@ if (is_a_guest())
}
// template instance
-if (( defined('IN_ADMIN') and IN_ADMIN )
- or (defined('PWG_HELP') and PWG_HELP))
+if (defined('IN_ADMIN') and IN_ADMIN )
{// Admin template
$template = new Template(PHPWG_ROOT_PATH.'admin/themes', $conf['admin_theme']);
}