mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
Monica require php7.4
This commit is contained in:
parent
452a7612ad
commit
bfe142f900
4 changed files with 2 additions and 4 deletions
|
@ -19,7 +19,7 @@
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx",
|
||||||
"php7.3-fpm",
|
"php7.4-fpm",
|
||||||
"mysql"
|
"mysql"
|
||||||
],
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="redis-server"
|
pkg_dependencies="redis-server"
|
||||||
YNH_COMPOSER_VERSION="2.0.11"
|
YNH_COMPOSER_VERSION="2.0.11"
|
||||||
YNH_PHP_VERSION="7.3"
|
YNH_PHP_VERSION="7.4"
|
||||||
|
|
||||||
extra_php_dependencies="php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-opcache php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-gmp php${YNH_PHP_VERSION}-redis"
|
extra_php_dependencies="php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-opcache php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-gmp php${YNH_PHP_VERSION}-redis"
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,6 @@ else
|
||||||
twof_boolean="false"
|
twof_boolean="false"
|
||||||
twof="No"
|
twof="No"
|
||||||
fi
|
fi
|
||||||
ynh_replace_string --match_string="__TWO_FACTOR__" --replace_string="$twof_boolean" --target_file="$config"
|
|
||||||
|
|
||||||
ynh_add_config --template="../conf/.env" --destination="$config"
|
ynh_add_config --template="../conf/.env" --destination="$config"
|
||||||
|
|
||||||
|
|
|
@ -185,7 +185,6 @@ else
|
||||||
twof_boolean="false"
|
twof_boolean="false"
|
||||||
twof="No"
|
twof="No"
|
||||||
fi
|
fi
|
||||||
ynh_replace_string --match_string="__TWO_FACTOR__" --replace_string="$twof_boolean" --target_file="$config"
|
|
||||||
|
|
||||||
ynh_add_config --template="../conf/.env" --destination="$config"
|
ynh_add_config --template="../conf/.env" --destination="$config"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue