diff --git a/scripts/install b/scripts/install index 81434cc..2a373a5 100644 --- a/scripts/install +++ b/scripts/install @@ -152,7 +152,7 @@ sudo cp ../conf/poller-cron /etc/cron.d/$app #================================================= # Calculate and store the config file checksum into the app settings -ynh_store_file_checksum "$final_path/.htconfig.php" +ynh_store_file_checksum "$final_path/config/local.ini.php" # Run composer (cd $final_path && sudo php bin/composer.phar install) diff --git a/scripts/upgrade b/scripts/upgrade index 7d6462d..b359fde 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,9 +110,9 @@ ynh_add_nginx_config ynh_add_fpm_config # Verify the checksum and backup the file if it's different -ynh_backup_if_checksum_is_different "$final_path/.htconfig.php" +ynh_backup_if_checksum_is_different "$final_path/config/local.ini.php" # Recalculate and store the config file checksum into the app settings -ynh_store_file_checksum "$final_path/.htconfig.php" +ynh_store_file_checksum "$final_path/config/local.ini.php" # Set up poller ynh_replace_string "__YNH_WWW_PATH__" "$final_path" ../conf/poller-cron