diff options
Diffstat (limited to 'settings.php')
-rw-r--r-- | settings.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/settings.php b/settings.php new file mode 100644 index 0000000..a0f5423 --- /dev/null +++ b/settings.php @@ -0,0 +1,11 @@ +<?php
+defined('MOODLE_INTERNAL') || die;
+
+if ($ADMIN->fulltree) {
+ //host
+ $settings->add(new admin_setting_configtext('qtype_algebra_host', get_string('host', 'qtype_algebra'), '', 'localhost', PARAM_TEXT));
+ //port
+ $settings->add(new admin_setting_configtext('qtype_algebra_port', get_string('port', 'qtype_algebra'), '', 7777, PARAM_INT));
+ //host
+ $settings->add(new admin_setting_configtext('qtype_algebra_uri', get_string('uri', 'qtype_algebra'), '', '', PARAM_TEXT));
+}
|