From 4f80b6095c3d44fa82e594d27d89cbf98c3c7042 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 18 Mar 2010 18:40:00 +0000 Subject: - allow template class to be instantiated with an empty theme (in plugins for example) - local_head must now be defined in the themeconf.inc.php otherwise not taken into account (avoid several calls to file_exists) - renamed themeconf['theme'] to themeconf['name'] (this is what it is themeconf[theme] is confusing) git-svn-id: http://piwigo.org/svn/trunk@5177 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/themeconf.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'themes/default') diff --git a/themes/default/themeconf.inc.php b/themes/default/themeconf.inc.php index 0386fc4c6..50ab59819 100644 --- a/themes/default/themeconf.inc.php +++ b/themes/default/themeconf.inc.php @@ -1,7 +1,8 @@ 'default', + 'name' => 'default', 'icon_dir' => 'themes/default/icon', 'mime_icon_dir' => 'themes/default/icon/mimetypes/', + 'local_head' => 'local_head.tpl', ); ?> -- cgit v1.2.3