MDL-25235 fixed param type for OS paths

paths to executable are not PARAM_TEXT, we have to use PARAM_RAW there + whitespace fixes
This commit is contained in:
Petr Skoda 2010-11-16 10:27:00 +00:00
parent 1d67258eb9
commit 43206af618

View file

@ -34,15 +34,15 @@ if ($ADMIN->fulltree) {
//pdf_to_text_cmd
$settings->add(new admin_setting_configtext('block_search_pdf_to_text_cmd', get_string('configpdftotextcmd', 'block_search'),
get_string('pdftotextcmd', 'block_search'), $default_pdf_to_text_cmd, PARAM_TEXT, 60));
get_string('pdftotextcmd', 'block_search'), $default_pdf_to_text_cmd, PARAM_RAW, 60));
//word_to_text_cmd
$settings->add(new admin_setting_configtext('block_search_word_to_text_cmd', get_string('configwordtotextcmd', 'block_search'),
get_string('wordtotextcmd', 'block_search'), $default_word_to_text_cmd, PARAM_TEXT, 60));
get_string('wordtotextcmd', 'block_search'), $default_word_to_text_cmd, PARAM_RAW, 60));
//word_to_text_env
$settings->add(new admin_setting_configtext('block_search_word_to_text_env', get_string('configwordtotextenv', 'block_search'),
get_string('wordtotextenv', 'block_search'), $default_word_to_text_env, PARAM_PATH, 60));
get_string('wordtotextenv', 'block_search'), $default_word_to_text_env, PARAM_RAW, 60));
// modules activations