Release 0.249: banner edit fixes and thumbnail popup
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# Wyłącz listowanie
|
||||
Options -Indexes
|
||||
|
||||
# Zezwol na wykonywanie PHP tylko dla legacy filemanagera
|
||||
SetEnvIf Request_URI "^/libraries/filemanager-9\.14\.[12]/.*\.(php|phtml|php[0-9]?|phar|pht)$" allow_legacy_filemanager_php=1
|
||||
|
||||
# Domyślnie blokujemy wszystko…
|
||||
Require all denied
|
||||
|
||||
@@ -11,7 +14,10 @@ Require all denied
|
||||
|
||||
# Twardo blokuj cokolwiek, co mogłoby się wykonać
|
||||
<FilesMatch "\.(php|phtml|php[0-9]?|phar|pht|cgi|pl|py|sh)$">
|
||||
Require all denied
|
||||
<RequireAny>
|
||||
Require env allow_legacy_filemanager_php
|
||||
Require all denied
|
||||
</RequireAny>
|
||||
</FilesMatch>
|
||||
|
||||
<Files "thumb.php">
|
||||
@@ -41,4 +47,4 @@ Require all denied
|
||||
# Nie serwuj plików ukrytych (.env itp.)
|
||||
<FilesMatch "^\.(.*)$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
</FilesMatch>
|
||||
|
||||
Reference in New Issue
Block a user