From b59509bbde4a2d8e704357605553b894aea47728 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 27 Mar 2022 08:21:29 +0200 Subject: [PATCH] fix --- conf/config-domain.php | 2 -- scripts/install | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/conf/config-domain.php b/conf/config-domain.php index 23b0ebc..7ea0f92 100644 --- a/conf/config-domain.php +++ b/conf/config-domain.php @@ -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 diff --git a/scripts/install b/scripts/install index 49d72e2..42587d2 100644 --- a/scripts/install +++ b/scripts/install @@ -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"