1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00

use the php7.3

This commit is contained in:
Kay0u 2020-09-15 09:53:26 +02:00
parent 9c5aa8d17d
commit aa37b418ab
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -86,6 +86,7 @@ ynh_script_progression --message="Configuring NGINX web server..."
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER
@ -136,7 +137,7 @@ timezone="$(date +%:::z)"
ynh_replace_string --match_string="__TIME_ZONE__" --replace_string="${timezone//-/\\-}" --target_file="$application_file" ynh_replace_string --match_string="__TIME_ZONE__" --replace_string="${timezone//-/\\-}" --target_file="$application_file"
# Set admin password # Set admin password
php ../conf/config.php --index="$final_path/app/index.php" --password="$password" php"${phpversion]}" ../conf/config.php --index="$final_path/app/index.php" --password="$password"
# Add default domain configs by looping through all the domains already added # Add default domain configs by looping through all the domains already added
mkdir -p "$final_path/app/data/_data_/_default_/domains/" mkdir -p "$final_path/app/data/_data_/_default_/domains/"