# Prevent directory listing and direct HTTP access to PHP files of the module.
# Assets (css, js, images) stay reachable; the module's PHP is only ever included by PrestaShop.
Options -Indexes

# Apache 2.2
<IfModule !mod_authz_core.c>
    <FilesMatch "\.php$">
        Order allow,deny
        Deny from all
    </FilesMatch>
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
    <FilesMatch "\.php$">
        Require all denied
    </FilesMatch>
</IfModule>
