]> source.dussan.org Git - nextcloud-server.git/commit
Move UTF-8 check to setup
authorLukas Reschke <lukas@owncloud.com>
Tue, 24 Feb 2015 22:34:38 +0000 (23:34 +0100)
committerLukas Reschke <lukas@owncloud.com>
Tue, 24 Feb 2015 22:51:36 +0000 (23:51 +0100)
commit06cf93e6ee19ea5c710b029fd403af3c90529074
tree59b7f506000c3fa14b97d3ec0f16d3f56a313b7a
parent09a06e4f0a2d473e1dc3ea1d92fefc3cfa318d4d
Move UTF-8 check to setup

Nobody reads the warnings anyways and so we should enforce it at installation time... Also allows us to get rid of some duplicated code.

To test change the `default_charset` to something other than `utf-8` or `UTF-8`, both should work fine with that change here. An error should then get shown.

We already set those default charsets in the shipped .user.ini and .htaccess
lib/private/util.php
settings/admin.php
settings/templates/admin.php