1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dotclear2_ynh.git synced 2024-09-03 18:26:29 +02:00

Fix rights on $final_path/inc/config.php

require(/var/www/dotclear2/inc/config.php): failed to open stream
This commit is contained in:
yalh76 2021-05-17 22:07:08 +02:00
parent c3558aa0bd
commit 6c1d892f00
3 changed files with 9 additions and 0 deletions

View file

@ -126,6 +126,9 @@ ynh_replace_string --match_string="'DC_ADMIN_URL', 'https://$old_domain$old_admi
ynh_store_file_checksum --file="$php_config" ynh_store_file_checksum --file="$php_config"
chmod 400 "$php_config"
chown $app:$app "$php_config"
#================================================= #=================================================
# GENERIC FINALISATION # GENERIC FINALISATION
#================================================= #=================================================

View file

@ -140,6 +140,9 @@ EOF
ynh_store_file_checksum --file=$php_config ynh_store_file_checksum --file=$php_config
chmod 400 "$php_config"
chown $app:$app "$php_config"
#================================================= #=================================================
# SETUP APPLICATION WITH CURL # SETUP APPLICATION WITH CURL
#================================================= #=================================================

View file

@ -168,6 +168,9 @@ EOF
# Recalculate and store the checksum of the file for the next upgrade. # Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum --file=$php_config ynh_store_file_checksum --file=$php_config
chmod 400 "$php_config"
chown $app:$app "$php_config"
#================================================= #=================================================
# UPDATING DATABASE # UPDATING DATABASE
#================================================= #=================================================