1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moodle_ynh.git synced 2024-09-03 19:46:23 +02:00
This commit is contained in:
ericgaspar 2022-03-27 08:21:29 +02:00
parent 48d5fbfb9b
commit b59509bbde
2 changed files with 1 additions and 3 deletions

View file

@ -21,8 +21,6 @@ $CFG->wwwroot = 'https://__DOMAIN__';
$CFG->dataroot = '__DATA_PATH__';
$CFG->admin = 'admin';
$CFG->lang = '__LANGUAGE__';
$CFG->directorypermissions = 02777;
require_once(__DIR__ . '/lib/setup.php'); // Do not edit

View file

@ -125,7 +125,7 @@ chown -R $app:www-data "$data_path"
#=================================================
ynh_script_progression --message="Setting up the application..." --weight=19
php${phpversion} "$final_path/admin/cli/install.php" --wwwroot="https://${domain}${path_url%/}" --dataroot="$data_path" --dbtype='pgsql' --dbname="$db_name" --dbuser="$db_name" --dbpass="$db_pwd" --adminuser="$admin" --adminpass="$password" --adminemail="$email" --lang="$language" --fullname="$site_name" --shortname="$site_name" --non-interactive --agree-license
php${phpversion} "$final_path/admin/cli/install.php" --wwwroot="https://${domain}${path_url%/}" --dataroot="$data_path" --dbtype='pgsql' --dbname="$db_name" --dbuser="$db_name" --dbpass="$db_pwd" --adminuser="$admin" --adminpass="$password" --adminemail="$email" --fullname="$site_name" --shortname="$site_name" --non-interactive --agree-license
# Calculate and store the config file checksum into the app settings
ynh_store_file_checksum "$final_path/config.php"