# ============================================================
# .htaccess para pasta views/
# Permite acesso direto aos arquivos PHP de checkout
# ============================================================

# Permitir acesso direto aos arquivos
Options -Indexes

# Permitir acesso a arquivos estáticos
<FilesMatch "\.(jpg|jpeg|png|gif|svg|webp|css|js|woff|woff2|ttf|eot|ico|pdf)$">
    Order Allow,Deny
    Allow from all
</FilesMatch>

# Proteger arquivos sensíveis
<FilesMatch "\.(htaccess|htpasswd|ini|log|sql|md)$">
    Order Allow,Deny
    Deny from all
</FilesMatch>


