mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
cleaning
This commit is contained in:
parent
f6cbee8174
commit
8660b53c6a
5 changed files with 8 additions and 12 deletions
|
@ -16,7 +16,7 @@ location __PATH__/ {
|
|||
rewrite ^(.+)$ __PATH__/index.php?q=$1 last;
|
||||
}
|
||||
|
||||
client_max_body_size 30m;
|
||||
client_max_body_size 50m;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## Configuration
|
||||
|
||||
Use the admin panel of your WordPress to configure this app.
|
||||
Use WordPress admin panel to configure this app.
|
||||
|
||||
## YunoHost specific features
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## Configuration
|
||||
|
||||
Utilisez le panneau d'administration de votre WordPress pour le configurer.
|
||||
Utilisez le panneau d'administration de WordPress pour configurer l'application.
|
||||
|
||||
## Caractéristiques spécifiques YunoHost
|
||||
|
||||
|
@ -10,10 +10,6 @@ Utilisez le panneau d'administration de votre WordPress pour le configurer.
|
|||
* Mises à jour automatiques du cœur de WordPress, extentions et thèmes.
|
||||
* Capable de configurer une instance [multisite](https://codex.wordpress.org/Glossary#Multisite).
|
||||
|
||||
#### Support multi-utilisateur
|
||||
|
||||
Supporté, avec LDAP et SSO.
|
||||
|
||||
## Limitations
|
||||
|
||||
* Le multisite n'est disponible que sur des sous-domaines.
|
||||
|
|
|
@ -16,7 +16,7 @@ admindoc = "https://codex.wordpress.org/"
|
|||
code = "https://core.trac.wordpress.org/browser"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.1.18"
|
||||
yunohost = ">= 11.1.19"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
ldap = true
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
ynh_maintenance_mode_ON () {
|
||||
# Load value of $path and $domain from the config if their not set
|
||||
if [ -z $path ]; then
|
||||
#REMOVEME? path=$(ynh_app_setting_get $app path)
|
||||
path=$(ynh_app_setting_get $app path)
|
||||
fi
|
||||
if [ -z $domain ]; then
|
||||
#REMOVEME? domain=$(ynh_app_setting_get $app domain)
|
||||
domain=$(ynh_app_setting_get $app domain)
|
||||
fi
|
||||
|
||||
mkdir -p /var/www/html/
|
||||
|
@ -67,10 +67,10 @@ include conf.d/yunohost_panel.conf.inc;
|
|||
ynh_maintenance_mode_OFF () {
|
||||
# Load value of $path and $domain from the config if their not set
|
||||
if [ -z $path ]; then
|
||||
#REMOVEME? path=$(ynh_app_setting_get $app path)
|
||||
path=$(ynh_app_setting_get $app path)
|
||||
fi
|
||||
if [ -z $domain ]; then
|
||||
#REMOVEME? domain=$(ynh_app_setting_get $app domain)
|
||||
domain=$(ynh_app_setting_get $app domain)
|
||||
fi
|
||||
|
||||
# Rewrite the nginx config file to redirect from ${path}_maintenance to the real url of the app.
|
||||
|
|
Loading…
Add table
Reference in a new issue