summaryrefslogtreecommitdiff
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:42:49 +0100
commit25a31031b00bd4eadc71d85cc0e0d7b4837a6a4e (patch)
tree982bdf085dfb70b8a23fab04cc2002779eead629
parentd9f061b558fd36e31322609ee5f378922122e21e (diff)
Mark mime_magic option with old default value as obsolete
-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])))