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:
parent
9c5aa8d17d
commit
aa37b418ab
1 changed files with 2 additions and 1 deletions
|
@ -86,6 +86,7 @@ ynh_script_progression --message="Configuring NGINX web server..."
|
|||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
|
@ -136,7 +137,7 @@ timezone="$(date +%:::z)"
|
|||
ynh_replace_string --match_string="__TIME_ZONE__" --replace_string="${timezone//-/\\-}" --target_file="$application_file"
|
||||
|
||||
# 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
|
||||
mkdir -p "$final_path/app/data/_data_/_default_/domains/"
|
||||
|
|
Loading…
Reference in a new issue