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

29 lines
681 B
PHP
Raw Normal View History

2021-08-17 15:46:31 +02:00
<?php
2021-08-18 12:39:06 +02:00
unset($CFG);
global $CFG;
$CFG = new stdClass();
2021-08-17 15:46:31 +02:00
2021-08-18 12:39:06 +02:00
$CFG->dbtype = 'pgsql';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = '__DB_NAME__';
2022-03-27 23:52:12 +02:00
$CFG->dbuser = '__DB_USER__';
2021-08-18 12:39:06 +02:00
$CFG->dbpass = '__DB_PWD__';
$CFG->prefix = 'mdl_';
2021-08-17 15:46:31 +02:00
$CFG->dboptions = array(
2021-08-18 12:39:06 +02:00
'dbpersist' => 0,
'dbsocket' => '',
'dbport' => '',
2021-08-17 15:46:31 +02:00
);
$CFG->wwwroot = 'https://__DOMAIN____PATH__';
$CFG->dataroot = '__DATA_PATH__';
$CFG->admin = 'admin';
2021-08-18 12:39:06 +02:00
$CFG->directorypermissions = 02777;
2021-08-17 15:46:31 +02:00
require_once(__DIR__ . '/lib/setup.php'); // Do not edit
// There is no php closing tag in this file,
2021-08-18 12:39:06 +02:00
// it is intentional because it prevents trailing whitespace problems!