Add Charte static page (public + admin editing)

This commit is contained in:
Pontoporeia
2026-06-10 00:18:49 +02:00
parent 317547ac93
commit 4a2b000fca
10 changed files with 405 additions and 30 deletions
+3
View File
@@ -13,6 +13,7 @@
* /tfe/<id> → TfeController → tfe view
* /apropos → AboutController → about view
* /licence → LicenceController → licence view
* /charte → CharteController → charte view
* /media.php → MediaController (direct output)
* /live-reload → LiveReloadController (direct output)
* /partage/<slug> → share-link flow
@@ -34,6 +35,8 @@ class Dispatcher
'/apropos.php' => ['controller' => 'AboutController', 'action' => 'handle', 'view' => 'public/about'],
'/licence' => ['controller' => 'LicenceController', 'action' => 'handle', 'view' => 'public/licence'],
'/licence.php' => ['controller' => 'LicenceController', 'action' => 'handle', 'view' => 'public/licence'],
'/charte' => ['controller' => 'CharteController', 'action' => 'handle', 'view' => 'public/charte'],
'/charte.php' => ['controller' => 'CharteController', 'action' => 'handle', 'view' => 'public/charte'],
];
private string $path;