mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
29 lines
No EOL
681 B
PHP
29 lines
No EOL
681 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->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!
|