diff --git a/conf/config.local.release.php b/conf/config.local.release.php new file mode 100644 index 0000000..510ec8f --- /dev/null +++ b/conf/config.local.release.php @@ -0,0 +1,51 @@ +> $final_path/config.local.php +ynh_add_config --template="config.local.release.php" --destination="$final_path/config.local.release.php" + +echo -e "\n require 'config.local.release.php'" >> $final_path/config.local.php # Permissions on files and directories chmod -R o-rwx "$final_path" @@ -265,6 +267,7 @@ find "$final_path" -type f -exec chmod 440 {} + find "$final_path/data" -type d -exec chmod 770 {} + find "$final_path/data" -type f -exec chmod 660 {} + chmod 660 "$final_path/config.local.php" +chmod 660 "$final_path/config.local.release.php" #================================================= # RELOAD NGINX