1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/2FAuth_ynh.git synced 2024-09-03 20:36:18 +02:00
This commit is contained in:
Éric Gaspar 2022-11-20 22:38:22 +01:00
parent 1a26960fc5
commit dd8a4d28c8
3 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,5 @@
location / {
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
root __FINALPATH__/public/;

View file

@ -7,7 +7,7 @@
YNH_PHP_VERSION="8.1"
# Composer version
YNH_COMPOSER_VERSION="2.3.5"
YNH_COMPOSER_VERSION="2.4.4"
pkg_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysql"

View file

@ -20,7 +20,7 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
phpversion=$YNH_PHP_VERSION
#=================================================
# CHECK VERSION