mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 15:24:35 -04:00
add rule to .htaccess to protect generate_language.php (#311)
This commit is contained in:
1 parent
f813780e15
commit
b57fc1f34d
1 file changed
+11
@@ -31,6 +31,17 @@ IndexIgnore *
|
||||
satisfy All
|
||||
</Files>
|
||||
|
||||
# prevent access to generate_languages.php
|
||||
<Files generate_languages.php>
|
||||
order allow,deny
|
||||
deny from all
|
||||
allow from 127.0.0.1
|
||||
|
||||
# My IP(s)
|
||||
# allow from xxx.xxx.xxx.xx
|
||||
|
||||
</Files>
|
||||
|
||||
<IfModule mod_expires.c>
|
||||
<FilesMatch "\.(jpe?g|png|gif|js|css)$">
|
||||
ExpiresActive On
|
||||
|
||||
Reference in new issue
Block a user