diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-08-16 01:32:37 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-08-16 01:32:37 +0000 |
commit | 06df3920059f3ea861655d7d844d734adac7d649 (patch) | |
tree | cecaad845d82780e1264b09c249ddcb269ea0ccf /include/common.inc.php | |
parent | 9824cbbc5f8f07de9c86892afa86f69c1b2e5db3 (diff) |
- optim dont include a php file if not required
- eng lang small change
- remove link to unexisting admin css
git-svn-id: http://piwigo.org/svn/trunk@2476 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 285d1bdb3..d87b8728a 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -189,14 +189,14 @@ if (is_a_guest()) // template instance if ( - defined('IN_ADMIN') and IN_ADMIN + defined('IN_ADMIN') and IN_ADMIN ) { // Admin template //$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['admin_template'], $user['admin_theme'] ); list($user['admin_template'], $user['admin_theme']) = explode ('/', $conf['admin_layout']); - $template = new Template(PHPWG_ROOT_PATH.'admin/template/' + $template = new Template(PHPWG_ROOT_PATH.'admin/template/' . $user['admin_template'], $user['admin_theme'] ); } else @@ -263,7 +263,6 @@ if (count($header_msgs) > 0) if (!empty($conf['filter_pages']) and get_filter_page_value('used')) { - include(PHPWG_ROOT_PATH.'include/functions_filter.inc.php'); include(PHPWG_ROOT_PATH.'include/filter.inc.php'); } else |