mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
migrate apropos data from config/apropos.php to SQLite
- Create apropos_contents table via migration 010 - Add Database methods: getAproposContent(), saveAproposContent(), getAllAproposContents() - Replace admin/pages.php with admin/contenus.php (renamed header from 'Pages statiques' to 'Contenus') - Replace admin/pages-edit.php with admin/contenus-edit.php (support editing pages + apropos contents) - Create admin/actions/apropos.php for saving apropos data (contacts, credits, erg_url) - Update public/apropos.php to read contacts/credits/erg_url from DB - Delete config/apropos.php
This commit is contained in:
3
storage/migrations/011_apropos_urls.sql
Normal file
3
storage/migrations/011_apropos_urls.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- Optional URL fields for credits and contacts.
|
||||
-- No structural change; items already stored as JSON with optional url keys.
|
||||
-- Default data updated to include urls where applicable.
|
||||
Reference in New Issue
Block a user