mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
ace5be7a0a
* v2 * Fix * Auto-update README * fix * Fix * Update tests.toml * Update manifest.toml * Update _common.sh * Update upgrade * Update upgrade * Update manifest.toml * fix * upgrade: remove unused code --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
29 lines
No EOL
672 B
PHP
29 lines
No EOL
672 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__';
|
|
$CFG->dataroot = '__DATA_DIR__';
|
|
$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!
|