mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
try add file and line to read /data/config.local.user.php
This commit is contained in:
parent
cb8f6db252
commit
c942fa3135
1 changed files with 4 additions and 3 deletions
|
@ -41,6 +41,10 @@ then
|
|||
ynh_setup_source --dest_dir="$install_dir" --keep="config.local.php data/plugins"
|
||||
fi
|
||||
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
if [ ! -f "$data_dir/data/config.local.user.php" ]; then
|
||||
ynh_add_config --template="config.local.user.php" --destination="$data_dir/data/config.local.user.php"
|
||||
chmod 650 "$data_dir/data/config.local.user.php"
|
||||
|
@ -53,9 +57,6 @@ if [ ! -f "$data_dir/data/config.local.user.php" ]; then
|
|||
require '$data_dir/data/config.local.user.php';' >> $install_dir/config.local.php
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue