Merge branch 'MDL-42143-master' of git://github.com/danpoltawski/moodle
authorMarina Glancy <marina@moodle.com>
Thu, 10 Oct 2013 00:12:35 +0000 (11:12 +1100)
committerMarina Glancy <marina@moodle.com>
Thu, 10 Oct 2013 00:12:35 +0000 (11:12 +1100)
mod/assign/feedback/editpdf/settings.php

index d04e762..910c72e 100644 (file)
@@ -34,7 +34,7 @@ $setting = new admin_setting_configstoredfile($name, $title, $description, 'stam
 $settings->add($setting);
 
 // Ghostscript setting.
-$settings->add(new admin_setting_configtext('assignfeedback_editpdf/gspath',
+$settings->add(new admin_setting_configexecutable('assignfeedback_editpdf/gspath',
                                             get_string('gspath', 'assignfeedback_editpdf'),
                                             get_string('gspath_help', 'assignfeedback_editpdf'), '/usr/bin/gs'));