1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpback_ynh.git synced 2024-09-03 19:56:34 +02:00
This commit is contained in:
Éric Gaspar 2023-01-23 10:36:45 +01:00
parent 8e1a0d1ea5
commit 9028d6021a
3 changed files with 9 additions and 3 deletions

View file

@ -25,7 +25,7 @@
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx",
"php8.0-fpm", "php7.4-fpm",
"mysql" "mysql"
], ],
"arguments": { "arguments": {
@ -34,6 +34,12 @@
"name": "domain", "name": "domain",
"type": "domain" "type": "domain"
}, },
{
"name": "path",
"type": "path",
"example": "/feedback",
"default": "/feedback"
},
{ {
"name": "is_public", "name": "is_public",
"type": "boolean", "type": "boolean",

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
YNH_PHP_VERSION="8.0" YNH_PHP_VERSION="7.4"
pkg_dependencies="php${YNH_PHP_VERSION}-mysql" pkg_dependencies="php${YNH_PHP_VERSION}-mysql"

View file

@ -25,7 +25,7 @@ ynh_abort_if_errors
#================================================= #=================================================
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url="/" path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME