From 98b07a4a7fa1baff52800f70066f311768904430 Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 8 Oct 2007 23:46:09 +0000 Subject: - 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 --- include/page_header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/page_header.php') 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'); -- cgit v1.2.3