1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00
This commit is contained in:
ericgaspar 2021-01-29 10:12:45 +01:00
parent 5a619b40f0
commit d3f1100b5e
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 15 additions and 5 deletions

View file

@ -9,7 +9,7 @@ location __PATH__/ {
rewrite ^ https://$server_name$request_uri? permanent;
}
try_files $uri $uri/ /index.php?$query_string;
try_files $uri $uri/ __PATH__/index.php?$query_string;
index index.php;

View file

@ -32,6 +32,16 @@
},
"example": "example.com"
},
{
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for BookStack",
"fr": "Choisissez un chemin pour BookStack"
},
"example": "/bookstack",
"default": "/bookstack"
},
{
"name": "language",
"type": "string",
@ -39,8 +49,8 @@
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices": ["fr", "en"],
"default": "fr"
"choices": ["de", "en", "es", "fr", "it", "pt"],
"default": "en"
},
{
"name": "is_public",

View file

@ -6,7 +6,7 @@
YNH_PHP_VERSION="7.3"
extra_php_dependencies="php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysql"
extra_php_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd"
#=================================================
# PERSONAL HELPERS

View file

@ -21,7 +21,7 @@ ynh_abort_if_errors
# Retrieve arguments
domain=$YNH_APP_ARG_DOMAIN
path_url="/"
path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE