summaryrefslogtreecommitdiff
path: root/sqlbox/settings.php
blob: d69bc888d21742473e1c449e51a34f8540141b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'));
}

?>