test if mb_internal_encoding() is available in functions.php head

master
Andrew Dolgov 8 years ago
parent eb95d1bddf
commit e6905f7f87

@ -16,7 +16,9 @@
libxml_disable_entity_loader(true);
mb_internal_encoding("UTF-8");
// separate test because this is included before sanity checks
if (function_exists("mb_internal_encoding")) mb_internal_encoding("UTF-8");
date_default_timezone_set('UTC');
if (defined('E_DEPRECATED')) {
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

Loading…
Cancel
Save