Merge branch 'MDL-75375-master' of https://github.com/junpataleta/moodle

This commit is contained in:
Jun Pataleta 2022-08-10 00:26:26 +08:00
commit a3187a2231

View File

@ -43,7 +43,7 @@ class cachestore_file_addinstance_form extends cachestore_addinstance_form {
$form = $this->_form;
$form->addElement('text', 'path', get_string('path', 'cachestore_file'));
$form->setType('path', PARAM_SAFEPATH);
$form->setType('path', PARAM_RAW);
$form->addHelpButton('path', 'path', 'cachestore_file');
$form->addElement('checkbox', 'autocreate', get_string('autocreate', 'cachestore_file'));