Thomas Bruederli
2013-01-10 be6ef859781e5165da8ae8adec71b28aa8ba60f6
Mark mime_magic option with old default value as obsolete

Conflicts:

installer/rcube_install.php
1 files modified
7 ■■■■ changed files
installer/rcube_install.php 7 ●●●● patch | view | raw | blame | history
installer/rcube_install.php
@@ -251,7 +251,12 @@
        $seen[$prop] = true;
      }
    }
    // 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])))