save new mimetype and command in settings.xml

This commit is contained in:
Uwe Steinmann 2016-12-07 17:24:20 +01:00
parent d2d731fc81
commit d769ba37e6

View File

@ -178,6 +178,9 @@ if ($action == "saveSettings")
// SETTINGS - ADVANCED - INDEX CMD
$settings->_converters['fulltext'] = $_POST["converters"];
if(trim($_POST["converters_newmimetype"]) && trim($_POST["converters_newcmd"])) {
$settings->_converters['fulltext'][trim($_POST["converters_newmimetype"])] = trim($_POST["converters_newcmd"]);
}
// -------------------------------------------------------------------------
// save