35 lines
865 B
PHP
35 lines
865 B
PHP
<?php // Moodle configuration file
|
|
|
|
unset($CFG);
|
|
global $CFG;
|
|
$CFG = new stdClass();
|
|
|
|
$CFG->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!
|