summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-01-10 09:41:30 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-01-10 09:41:30 +0100
commit15a049c37c4615c864dfc69ea95d881b3ddfe552 (patch)
tree2658a9571729d5cb2d385b122914a8f3419f324a /installer
parent619c320c0ee9ca39d0fada9113133724cc2a11fe (diff)
Mark mime_magic option with old default value as obsolete
Diffstat (limited to 'installer')
-rw-r--r--installer/rcube_install.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 6ef105bc7..e6fbc6251 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -261,6 +261,11 @@ class rcube_install
}
}
+ // the old default mime_magic reference is obsolete
+ if ($this->config['mime_magic'] == '/usr/share/misc/magic') {
+ $out['obsolete'][] = array('prop' => 'mime_magic', 'explain' => "Set value to null in order to use system default");
+ }
+
// iterate over default config
foreach ($defaults as $prop => $value) {
if (!isset($seen[$prop]) && isset($required[$prop]) && !(is_bool($this->config[$prop]) || strlen($this->config[$prop])))