diff --git a/config.php b/config.php new file mode 100644 index 00000000..1737c5ce --- /dev/null +++ b/config.php @@ -0,0 +1,34 @@ +dbtype = 'mysqli'; +$CFG->dblibrary = 'native'; +$CFG->dbhost = '10.10.33.60'; +$CFG->dbname = 'learning_coregrade'; +$CFG->dbuser = 'learning_coregrade'; +$CFG->dbpass = 'learning_coregrade'; +$CFG->prefix = 'mdl_'; +$CFG->dboptions = array ( + 'dbpersist' => 0, + 'dbport' => '', + 'dbsocket' => '', + 'dbcollation' => 'utf8mb4_0900_ai_ci', +); + +$CFG->wwwroot = 'https://learning.coregrade.com'; +//$CFG->wwwroot = 'http://172.16.4.50:8900'; +$CFG->dataroot = '/var/www/moodledata'; +$CFG->admin = 'admin'; + +$CFG->directorypermissions = 0777; + +$CFG->reverseproxy = true; +$CFG->sslproxy = true; + +require_once(__DIR__ . '/lib/setup.php'); + +// There is no php closing tag in this file, +// it is intentional because it prevents trailing whitespace problems!