summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-02-26 16:00:31 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-02-26 16:00:31 +0100
commit18d43f74693941417a9a52feb7092894d721b560 (patch)
treec46bd3f4baf24ee1ddf379f32f38660f5957e33f /settings
parent522469614b96ab3ce8edae87c0f9da1079166ac7 (diff)
parent06cf93e6ee19ea5c710b029fd403af3c90529074 (diff)
downloadnextcloud-server-18d43f74693941417a9a52feb7092894d721b560.tar.gz
nextcloud-server-18d43f74693941417a9a52feb7092894d721b560.zip
Merge pull request #14474 from owncloud/move-utf-8-check-to-setup
Move UTF-8 check to setup
Diffstat (limited to 'settings')
-rw-r--r--settings/admin.php3
-rw-r--r--settings/templates/admin.php14
2 files changed, 1 insertions, 16 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 9f39936fe7b..fc2df77eae1 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -65,7 +65,6 @@ $template->assign('doesLogFileExist', $doesLogFileExist);
$template->assign('showLog', $showLog);
$template->assign('readOnlyConfigEnabled', OC_Helper::isReadOnlyConfigEnabled());
$template->assign('isLocaleWorking', OC_Util::isSetLocaleWorking());
-$template->assign('isPhpCharSetUtf8', OC_Util::isPhpCharSetUtf8());
$template->assign('isAnnotationsWorking', OC_Util::isAnnotationsWorking());
$template->assign('has_fileinfo', OC_Util::fileInfoLoaded());
$template->assign('backgroundjobs_mode', $appConfig->getValue('core', 'backgroundjobs_mode', 'ajax'));
@@ -116,7 +115,7 @@ $forms = OC_App::getForms('admin');
$l = OC_L10N::get('settings');
$formsAndMore = array();
if ($request->getServerProtocol() !== 'https' || !OC_Util::isAnnotationsWorking() ||
- $suggestedOverwriteCliUrl || !OC_Util::isSetLocaleWorking() || !OC_Util::isPhpCharSetUtf8() ||
+ $suggestedOverwriteCliUrl || !OC_Util::isSetLocaleWorking() ||
!OC_Util::fileInfoLoaded() || $databaseOverload
) {
$formsAndMore[] = array('anchor' => 'security-warning', 'section-name' => $l->t('Security & Setup Warnings'));
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 1f7eacd746b..a82d5ee8545 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -175,20 +175,6 @@ if (!$_['has_fileinfo']) {
<?php
}
-// is PHP charset set to UTF8?
-if (!$_['isPhpCharSetUtf8']) {
- ?>
- <div class="section">
- <h2><?php p($l->t('PHP charset is not set to UTF-8'));?></h2>
-
- <span class="connectionwarning">
- <?php p($l->t("PHP charset is not set to UTF-8. This can cause major issues with non-ASCII characters in file names. We highly recommend to change the value of 'default_charset' php.ini to 'UTF-8'.")); ?>
- </span>
-
- </div>
-<?php
-}
-
// is locale working ?
if (!$_['isLocaleWorking']) {
?>