1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moodle_ynh.git synced 2024-09-03 19:46:23 +02:00
moodle_ynh/conf/config-path.php
Éric Gaspar 8b1da5a691
3.11.6 (#61)
* 3.11.6
2022-03-27 23:52:12 +02:00

31 lines
No EOL
711 B
PHP

<?php
unset($CFG);
global $CFG;
$CFG = new stdClass();
$CFG->dbtype = 'pgsql';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = '__DB_NAME__';
$CFG->dbuser = '__DB_USER__';
$CFG->dbpass = '__DB_PWD__';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array(
'dbpersist' => 0,
'dbsocket' => '',
'dbport' => '',
);
$CFG->wwwroot = 'https://__DOMAIN____PATH__';
$CFG->dataroot = '__DATA_PATH__';
$CFG->admin = 'admin';
$CFG->lang = '__LANGUAGE__';
$CFG->directorypermissions = 02777;
require_once(__DIR__ . '/lib/setup.php'); // Do not edit
// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!