fix: don't use undefined CHARSET_NATIVE (#583)

This commit is contained in:
onli 2018-10-07 20:37:52 +02:00
parent 52838c0f7b
commit 33d090e8b6

View File

@ -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