1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-19 04:51:22 +02:00

Small improvements to ProcessWire installer

This commit is contained in:
Ryan Cramer
2019-07-04 10:47:58 -04:00
parent 5663803e05
commit b5b1a796ec
3 changed files with 95 additions and 22 deletions

View File

@@ -1,4 +1,5 @@
# ProcessWire: Block any PHP files from direct access
# Start ProcessWire:pwbphp (install)
# Block PHP files from direct access (optional fallback if root .htaccess missing)
<FilesMatch "\.(php|module|inc)$">
<IfModule mod_authz_core.c>
Require all denied
@@ -7,4 +8,5 @@
Order allow,deny
Deny from all
</IfModule>
</FilesMatch>
</FilesMatch>
# End ProcessWire:pwbphp