# Disable directory listing
Options -Indexes

# Deny direct access/execution of PHP files in this module.
# PrestaShop loads them via its own bootstrap (index.php?fc=module&module=raty&...),
# never via a direct request to the file itself.
<IfModule mod_authz_core.c>
    # Apache >= 2.4
    <FilesMatch "\.php$">
        Require all denied
    </FilesMatch>
</IfModule>
<IfModule !mod_authz_core.c>
    # Apache < 2.4
    <FilesMatch "\.php$">
        Order allow,deny
        Deny from all
    </FilesMatch>
</IfModule>
