1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/X-prober_ynh.git synced 2024-09-03 20:36:04 +02:00
This commit is contained in:
Éric Gaspar 2023-01-10 18:28:11 +01:00
parent 1bb9a23b0f
commit b60e9d5a91
4 changed files with 6 additions and 19 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/kmvan/x-prober/raw/master/dist/prober.php
SOURCE_SUM=0fea147396c0c8147c509ea3d3382adb53aa88a50e81ff9f60fc7f35191ef1a0
SOURCE_URL=https://github.com/kmvan/x-prober/releases/download/8.16/prober.php
SOURCE_SUM=06691c50cd72bf2b19ecc2169486a582334f18d7070bbe5ae8c402e87c0a6c6c
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=php
SOURCE_IN_SUBDIR=false

View file

@ -2,9 +2,8 @@
location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;
alias __FINALPATH__/;
### Example PHP configuration (remove it if not used)
index prober.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
@ -21,7 +20,6 @@ location __PATH__/ {
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
### End of PHP configuration part
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;

View file

@ -6,7 +6,7 @@
"en": "A probe program for PHP environment",
"fr": "A probe program for PHP environment"
},
"version": "8.8~ynh1",
"version": "8.16~ynh1",
"url": "https://prober.inn-studio.com/",
"upstream": {
"license": "GPL-3.0",
@ -21,7 +21,7 @@
"email": ""
},
"requirements": {
"yunohost": ">= 4.3.0"
"yunohost": ">= 11.0.9"
},
"multi_instance": true,
"services": [
@ -41,16 +41,6 @@
"example": "/xprober",
"default": "/xprober"
},
{
"name": "phpversion",
"type": "string",
"ask": {
"en": "Choose a PHP version you want to use for your app. Yes, 8 is better",
"fr": "Choisissez une version PHP que vous souhaitez utiliser pour votre application. Oui, la 8 est meilleure"
},
"choices" : ["7.4", "8.0"],
"default" : "8.0"
},
{
"name": "is_public",
"type": "boolean",

View file

@ -3,9 +3,8 @@
#=================================================
# COMMON VARIABLES
#=================================================
YNH_PHP_VERSION="8.0"
# dependencies used by the app
YNH_PHP_VERSION="8.0"
#=================================================
# PERSONAL HELPERS