summaryrefslogtreecommitdiffstats
path: root/settings/templates/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates/admin.php')
-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">