Skip to content

Read the database settings from a config file and guard CSV cells - #3

Merged
ispgrid merged 1 commit into
masterfrom
config-file
Oct 22, 2026
Merged

ispgrid merged 1 commit into
masterfrom
config-file

Conversation

@ispgrid

@ispgrid ispgrid commented Oct 22, 2026

Copy link
Copy Markdown
Owner
  • IPDR_DB_* now go through config/ipdr.php, so they survive config:cache (env() in the provider returned nothing once the config was cached).
  • The CSV export puts an apostrophe before a cell starting with =, +, -, @, tab or CR, as core's CsvExport does. The add-on keeps its own copy because cores before 0.1.6 don't have CsvExport.

Both new tests fail without the change; 31/31 pass.

IPDR_DB_* overrides were lost under config:cache, and exported names starting with = could run as formulas.
@ispgrid
ispgrid merged commit 483b120 into master Oct 22, 2026
1 check passed
@ispgrid
ispgrid deleted the config-file branch October 22, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant