Use \Patchwork\Utf8\Bootup::initLocale
This commit is contained in:
parent
a6d8854d2a
commit
bcf56b0407
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue