fix fgetcsv deprecation and apply pending DB migrations

This commit is contained in:
Pontoporeia
2026-03-28 19:13:52 +01:00
parent 126703f340
commit 5c00886db6
3 changed files with 7 additions and 5 deletions

View File

@@ -437,6 +437,8 @@ Goal: rename the tables and column to the canonical M2M pattern (`tags`, `thesis
`Database::setThesisLanguages()`, `setThesisFormats()`, `setThesisTags()` following the
delete-then-reinsert pattern of `setThesisJury()`; `formulaire.php` and `edit.php` updated.
- [x] Fix `fgetcsv()` deprecation warnings in `import.php` - added explicit `$escape = ''` parameter to all 5 calls
- [x] Run all pending DB migrations (001006) on `storage/posterg.db` - `tags`/`thesis_tags` tables now exist
- [ ] **`RateLimit` uses per-file JSON on disk** - reads, writes, and `glob()`s the filesystem on
every public request. For a low-traffic art-school site this is fine, but it creates a
write-on-every-hit pattern. Consider switching to APCu (if available) or SQLite (single INSERT)