diff --git a/scripts/install b/scripts/install index 6faccc5..50ae6b3 100755 --- a/scripts/install +++ b/scripts/install @@ -43,10 +43,10 @@ chmod 644 "/etc/cron.d/$app" #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="database.php" --destination="$install_dir/application/database.php" +ynh_add_config --template="database.php" --destination="$install_dir/application/config/database.php" -chmod 400 "$install_dir/application/database.php" -chown $app:$app "$install_dir/application/database.php" +chmod 400 "$install_dir/application/config/database.php" +chown $app:$app "$install_dir/application/config/database.php" #================================================= # END OF SCRIPT