]> git.mjollnir.org Git - moodle.git/commitdiff
Adding new setting to control XML headers. MDL-11216
authorstronk7 <stronk7>
Fri, 21 Sep 2007 17:27:14 +0000 (17:27 +0000)
committerstronk7 <stronk7>
Fri, 21 Sep 2007 17:27:14 +0000 (17:27 +0000)
admin/settings/server.php

index 44f7293e1010a0c3cb0df568bfb4cc36a9c4bfed..af8aab2585a5d7081376c8548b5a8107ba008a00 100644 (file)
@@ -103,6 +103,7 @@ $ADMIN->add('server', $temp);
 $temp = new admin_settingpage('debugging', get_string('debugging', 'admin'));
 $temp->add(new admin_setting_special_debug());
 $temp->add(new admin_setting_special_debugdisplay());
+$temp->add(new admin_setting_configcheckbox('xmlstrictheaders', get_string('xmlstrictheaders', 'admin'), get_string('configxmlstrictheaders', 'admin'), 0));
 $temp->add(new admin_setting_configcheckbox('debugsmtp', get_string('debugsmtp', 'admin'), get_string('configdebugsmtp', 'admin'), 0));
 $temp->add(new admin_setting_special_perfdebug());
 $ADMIN->add('server', $temp);