From f7eeae1efb61a9d4ff7b9a4d451edeb14d9f10e7 Mon Sep 17 00:00:00 2001 From: rodinux Date: Mon, 25 Dec 2023 03:51:37 +0100 Subject: [PATCH] try add file and line to read /data/config.local.user.php --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a20d411..b42302c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -42,12 +42,12 @@ 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" chown $app:$app "$data_dir/data/config.local.user.php" - echo " + echo" /** * Chemin vers le fichier pour des configurations personnelles * qui ne sera pas écraser lors des mises à jour. */ - require \'$data_dir/data/config.local.user.php\';" >> $install_dir/config.local.php + require '$data_dir/data/config.local.user.php';" >> $install_dir/config.local.php fi #=================================================