mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
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:
parent
1d67258eb9
commit
43206af618
1 changed files with 6 additions and 6 deletions
|
@ -34,15 +34,15 @@ if ($ADMIN->fulltree) {
|
||||||
|
|
||||||
//pdf_to_text_cmd
|
//pdf_to_text_cmd
|
||||||
$settings->add(new admin_setting_configtext('block_search_pdf_to_text_cmd', get_string('configpdftotextcmd', 'block_search'),
|
$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
|
//word_to_text_cmd
|
||||||
$settings->add(new admin_setting_configtext('block_search_word_to_text_cmd', get_string('configwordtotextcmd', 'block_search'),
|
$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
|
//word_to_text_env
|
||||||
$settings->add(new admin_setting_configtext('block_search_word_to_text_env', get_string('configwordtotextenv', 'block_search'),
|
$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
|
// modules activations
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue