php8 compat: Don't redefince LANG_CHARSET

This commit is contained in:
onli 2021-03-15 22:47:15 +01:00
parent 7f3d7e4017
commit 690b6def49

View File

@ -429,7 +429,7 @@ if (function_exists('date_default_timezone_set')) {
}
// Fallback charset, if none is defined in the language files
@define('LANG_CHARSET', 'ISO-8859-1');
defined('LANG_CHARSET') or @define('LANG_CHARSET', 'ISO-8859-1');
// Create array of permission levels, with descriptions
$serendipity['permissionLevels'] = array(USERLEVEL_EDITOR => USERLEVEL_EDITOR_DESC,