diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-10-08 23:46:09 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-10-08 23:46:09 +0000 |
commit | 98b07a4a7fa1baff52800f70066f311768904430 (patch) | |
tree | 4bc89e8017f5fced16a6de6d4c8b37639caccff8 /include/page_header.php | |
parent | 5132cc1f87025bd17d6bd90e5ac8ad73288bf482 (diff) |
- some code refactoring before upgrade to utf (only cosmetic at this point...)
git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/page_header.php')
-rw-r--r-- | include/page_header.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/page_header.php b/include/page_header.php index 0dea51a33..0ce9281e2 100644 --- a/include/page_header.php +++ b/include/page_header.php @@ -46,7 +46,7 @@ $template->assign_vars( isset($page['body_id']) ? $page['body_id'] : '', - 'CONTENT_ENCODING' => $lang_info['charset'], + 'CONTENT_ENCODING' => get_pwg_charset(), 'PAGE_TITLE' => strip_tags($title), 'LANG'=>$lang_info['code'], 'DIR'=>$lang_info['direction'], @@ -99,7 +99,7 @@ if ( isset( $refresh ) and intval($refresh) >= 0 trigger_action('loc_end_page_header'); -header('Content-Type: text/html; charset='.$lang_info['charset']); +header('Content-Type: text/html; charset='.get_pwg_charset()); $template->parse('header'); trigger_action('loc_after_page_header'); |