aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-11-15 13:06:35 +0100
committerBart Visscher <bartv@thisnet.nl>2013-11-15 13:06:35 +0100
commitbcf56b04078f4a8b9381f110c379b0d33d0db48c (patch)
tree06d1573d4b32a2fd518d83b26b4f6eeaac8a7503 /lib
parenta6d8854d2af234d0613467f12b45f229e0431b35 (diff)
downloadnextcloud-server-bcf56b04078f4a8b9381f110c379b0d33d0db48c.tar.gz
nextcloud-server-bcf56b04078f4a8b9381f110c379b0d33d0db48c.zip
Use \Patchwork\Utf8\Bootup::initLocale
Diffstat (limited to 'lib')
-rwxr-xr-xlib/private/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index f285f83cf5c..d44ae09ecbc 100755
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -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;