fix: don't use undefined CHARSET_NATIVE (#583)
This commit is contained in:
parent
52838c0f7b
commit
33d090e8b6
@ -398,7 +398,7 @@ include(S9Y_INCLUDE_PATH . 'include/lang.inc.php');
|
|||||||
// Reset charset definition now that final language is known
|
// Reset charset definition now that final language is known
|
||||||
$serendipity['charsets'] = array(
|
$serendipity['charsets'] = array(
|
||||||
'UTF-8/' => 'UTF-8',
|
'UTF-8/' => 'UTF-8',
|
||||||
'' => CHARSET_NATIVE
|
'' => (defined('CHARSET_NATIVE') ? CHARSET_NATIVE : 'CHARSET_NATIVE')
|
||||||
);
|
);
|
||||||
|
|
||||||
// Set current locale, if any has been defined
|
// Set current locale, if any has been defined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user