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
This commit is contained in:
nikrou
2010-04-18 18:59:37 +00:00
parent 43a30afea6
commit 94d40c0eab
20 changed files with 116 additions and 22 deletions
+1 -2
View File
@@ -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']);
}