Use \Patchwork\Utf8\Bootup::initLocale

This commit is contained in:
Bart Visscher 2013-11-15 13:06:35 +01:00
parent a6d8854d2a
commit bcf56b0407

View file

@ -854,8 +854,8 @@ class OC_Util {
return true;
}
$result = setlocale(LC_ALL, 'en_US.UTF-8', 'en_US.UTF8');
if($result == false) {
\Patchwork\Utf8\Bootup::initLocale();
if ('' === basename('§')) {
return false;
}
return true;