1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mybb_ynh.git synced 2024-09-03 19:46:07 +02:00

Merge pull request #4 from YunoHost-Apps/testing

4.3
This commit is contained in:
Éric Gaspar 2021-12-12 22:14:53 +01:00 committed by GitHub
commit 9d3e6321f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 11 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet. MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet.
**Shipped version:** 1.8.29~ynh1 **Shipped version:** 1.8.29~ynh2
**Demo:** https://demomybb.tk/ **Demo:** https://demomybb.tk/

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet. MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet.
**Version incluse :** 1.8.29~ynh1 **Version incluse :** 1.8.29~ynh2
**Démo :** https://demomybb.tk/ **Démo :** https://demomybb.tk/

View file

@ -4,11 +4,6 @@ location __PATH__/ {
# Path to source # Path to source
alias __FINALPATH__/ ; alias __FINALPATH__/ ;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php; index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file

View file

@ -6,7 +6,7 @@
"en": "Forum software", "en": "Forum software",
"fr": "Forum open source et libre" "fr": "Forum open source et libre"
}, },
"version": "1.8.29~ynh1", "version": "1.8.29~ynh2",
"url": "https://mybb.com/", "url": "https://mybb.com/",
"upstream": { "upstream": {
"license": "LGPL-3.0-only", "license": "LGPL-3.0-only",
@ -21,7 +21,7 @@
"email": "" "email": ""
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.2.4" "yunohost": ">= 4.3.0"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [

View file

@ -36,8 +36,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=1 ynh_script_progression --message="Validating restoration parameters..." --weight=1
test ! -d $final_path \ test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
|| ynh_die --message="There is already a directory: $final_path "
#================================================= #=================================================
# STANDARD RESTORATION STEPS # STANDARD RESTORATION STEPS