Remove unused cache file, update order logging to comment out file creation, remove logging summary call in index, add .DS_Store file, create .htaccess for security settings

This commit is contained in:
2025-12-28 11:06:19 +01:00
parent 6af91475ae
commit 89886255ea
8 changed files with 21 additions and 6 deletions

BIN
templates/.DS_Store vendored Normal file

Binary file not shown.

20
templates/.htaccess Normal file
View File

@@ -0,0 +1,20 @@
# Wyłącz listowanie
Options -Indexes
# Domyślnie blokujemy wszystko…
Require all denied
# …a dopiero potem pozwalamy na pliki statyczne
<FilesMatch "\.(css|js|map|mjs|png|jpe?g|gif|svgz?|webp|ico|woff2?|woff|ttf|eot)$">
Require all granted
</FilesMatch>
# Twardo blokuj cokolwiek, co mogłoby się wykonać
<FilesMatch "\.(php|phtml|php[0-9]?|phar|pht|cgi|pl|py|sh)$">
Require all denied
</FilesMatch>
# Nie serwuj plików ukrytych (.env itp.)
<FilesMatch "^\.(.*)$">
Require all denied
</FilesMatch>