forked from FWS/FWS-TEMPLATE-Website-OnePage
Masquer toutes les erreurs : 404 doux, API blindée, aucune fuite PHP
- /api/bugs/ et tout chemin inconnu sous /api/ : 404 JSON propre - 403/404 Apache : ErrorDocument vers page.php, sans page Apache brute - fichiers internes (inc/, corps de pages, db.php, init.php...) : 404 - erreurs PHP : display_errors off, handlers exception/fatal, réponses JSON ou HTML discrètes, journalisation locale gitignorée
This commit is contained in:
1 parent
3b3127bb34
commit
82168e2678
6 files changed
+196
No files matched your search
@@ -23,3 +23,6 @@ p/assets/img/packages/
|
||||
|
||||
# Cache HTTP local du site (releases Gitea/GitHub, généré par inc/site.php)
|
||||
cache/
|
||||
|
||||
# Journal des erreurs PHP (filet de sécurité inc/errors.php)
|
||||
api/bugs/data/php-errors.log
|
||||
Reference in new issue
Block a user