diff options
Diffstat (limited to 'sqlbox/settings.php')
-rw-r--r-- | sqlbox/settings.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sqlbox/settings.php b/sqlbox/settings.php new file mode 100644 index 0000000..d69bc88 --- /dev/null +++ b/sqlbox/settings.php @@ -0,0 +1,14 @@ +<?php + +defined('MOODLE_INTERNAL') || die(); + +if ($ADMIN->fulltree) { + require_once(dirname(__FILE__).'/lib.php'); + + $settings->add(new admin_setting_configtext('sqlbox_hostname', 'Hostname', 'Host to connect to', 'localhost')); + $settings->add(new admin_setting_configtext('sqlbox_database', 'Database', 'Database for SQLBox', 'sqlbox')); + $settings->add(new admin_setting_configtext('sqlbox_user', 'User', 'User name for Database', 'sqlbox')); + $settings->add(new admin_setting_configtext('sqlbox_password', 'Password', 'Password for the User', 'sqlbox_pw')); +} + +?> |