summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-06 11:53:13 -0800
committerLukas Reschke <lukas@statuscode.ch>2013-02-06 11:53:13 -0800
commite969a78cf998a6a5607e605d65b7bf1b35259cb8 (patch)
treeba139f19b165727132c00c8398d44a6e564d3614 /settings/templates
parent93b15973951e00f066eacf92cc3bff8fc24dbefd (diff)
parent6058c2f734ca2259aebab9cc83eb63c2718b2e4d (diff)
downloadnextcloud-server-e969a78cf998a6a5607e605d65b7bf1b35259cb8.tar.gz
nextcloud-server-e969a78cf998a6a5607e605d65b7bf1b35259cb8.zip
Merge pull request #1443 from owncloud/use-module-file-info-master
we get best results regarding mime type detection if we use fileinfo - l...
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 0097489743f..9a9a691dcbf 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -22,7 +22,20 @@ if (!$_['htaccessworking']) {
<?php
}
-// is locale working ?
+// if module fileinfo available?
+if (!$_['has_fileinfo']) {
+ ?>
+<fieldset class="personalblock">
+ <legend><strong><?php echo $l->t('Module \'fileinfo\' missing');?></strong></legend>
+
+ <span class="connectionwarning">
+ <?php echo $l->t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with mime-type detection.'); ?>
+ </span>
+
+</fieldset>
+<?php
+}
+
if (!$_['islocaleworking']) {
?>
<fieldset class="personalblock">