1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

[upg] v0.1.0-beta.14

This commit is contained in:
tituspijean 2020-10-24 16:25:39 +02:00
parent df21f9dabf
commit e5c96fcfec
6 changed files with 9 additions and 9 deletions

View file

@ -9,7 +9,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview
[Flarum](http://flarum.org/), an open-source forum software, packaged for [YunoHost](https://yunohost.org/), a self-hosting server operating server.
**Shipped version:** 0.1.0-beta.13
**Shipped version:** 0.1.0-beta.14
## Screenshots

View file

@ -11,8 +11,8 @@ location __PATH__/ {
index index.php;
# Bug in Nginx with locations and aliases (see http://stackoverflow.com/a/35102259 )
# try_files $uri $uri/ /index.php?$query_string; # will not work for /admin and /api
if (!-e $request_filename) { rewrite ^ __PATH_HACK__/index.php last; }
try_files $uri $uri/ __PATH_HACK__/index.php?$query_string;
#if (!-e $request_filename) { rewrite ^ __PATH_HACK__/index.php last; }
location ~* \.php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;

View file

@ -7,7 +7,7 @@
"fr": "Un forum de nouvelle génération, simplement.",
"de": "Forum der nächsten Generation leicht gemacht."
},
"version": "0.1.0-beta.13~ynh1",
"version": "0.1.0-beta.14~ynh1",
"url": "http://flarum.org/",
"license": "MIT",
"maintainer": {

View file

@ -12,9 +12,9 @@ YNH_PHP_VERSION="7.3"
extra_php_dependencies="php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-pdo-mysql php${YNH_PHP_VERSION}-tokenizer php${YNH_PHP_VERSION}-zip"
# Version numbers
project_version="~0.1.0-beta.13"
core_version="~0.1.0-beta.13"
ssowat_version="~0.1.0-beta.13"
project_version="~0.1.0-beta.14"
core_version="~0.1.0-beta.14"
ssowat_version="~0.1.0-beta.14"
#=================================================
# PERSONAL HELPERS

View file

@ -102,7 +102,7 @@ ynh_setup_source --dest_dir="$final_path"
if [ $path_url = "/" ]; then
ynh_replace_string "__PATH_HACK__" "" "../conf/nginx.conf"
else
ynh_replace_string "__PATH_HACK__" "$path_url" "../conf/nginx.conf"
ynh_replace_string "__PATH_HACK__" "$path_url/$path_url" "../conf/nginx.conf"
fi
# Create a dedicated nginx config

View file

@ -164,7 +164,7 @@ ynh_script_progression --message="Upgrading nginx web server configuration..." -
if [ $path_url = "/" ]; then
ynh_replace_string "__PATH_HACK__" "" "../conf/nginx.conf"
else
ynh_replace_string "__PATH_HACK__" "$path_url" "../conf/nginx.conf"
ynh_replace_string "__PATH_HACK__" "$path_url/$path_url" "../conf/nginx.conf"
fi
# Create a dedicated nginx config