mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-07 03:29:19 +02:00
1.1 KiB
1.1 KiB
TODO
Done
- Replace unicode left arrow (←) with SVG arrow icon in admin nav logo
Fixes
- Fix CSV import UNIQUE constraint crash: skip rows whose identifier already exists in DB
- Auto-migrate both test.db and posterg.db on
just servevia scripts/migrate.sh - Fix wrong
require_oncedepth inpublic/admin/actions/page.php(../../→../../../) - Fix same path depth bug in
formulaire.phpandpublish.php - Fix CSV import: imported theses not visible on public site (is_published defaulted to 0, access_type_id never set)
- Fix DB routing: local dev (php -S) auto-uses test.db, production (nginx/fpm) uses posterg.db — no env var needed
- migrate.sh auto-initialises DB from schema when absent/empty; existing DBs untouched
- Consolidate admin/public templates: shared head.php, admin/nav.php partial, common.css loaded first in admin, removed duplicate a11y CSS
- admin/head.php now includes public/head.php as base (single source of boilerplate); removed duplicate font-family from .admin-body; wired templates/footer.php to all public pages; fixed duplicate body{} in common.css