mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
bug 1317 fixed: force the HTTP response charset (ie encoding) to UTF-8.
git-svn-id: http://piwigo.org/svn/branches/2.0@4462 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -225,7 +225,7 @@ define('PHPWG_URL', 'http://'.PHPWG_DOMAIN);
|
||||
load_language( 'common.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') );
|
||||
load_language( 'admin.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') );
|
||||
load_language( 'install.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') );
|
||||
|
||||
header('Content-Type: text/html; charset=UTF-8');
|
||||
//------------------------------------------------- check php version
|
||||
if (version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '<'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user