żeby byle jaki użytkownik co daje odpowiedź w temacie tego nie widział, a jedynie autor tematu...
Kod: Zaznacz cały
<!-- IF L_TOPIC_AUTHOR is S_USER_LOGGED_IN -->
<img src="styles/prosilver/theme/images/TH_thanks-icon.png">
<!-- ENDIF -->Kod: Zaznacz cały
RewriteEngine On
RewriteCond %{HTTP:Content-Type} multipart/form-data [NC]
RewriteRule ^ - [F]Kod: Zaznacz cały
<If "req('Content-Type') =~ /multipart/i">
Require all denied
</If>Kod: Zaznacz cały
# http {} context, e.g. /etc/nginx/conf.d/block-multipart.conf
map $http_content_type $block_multipart {
default 0;
"~*multipart" 1;
}
# inside every server {} that passes requests to PHP, including default/catch-all servers
if ($block_multipart) {
return 403;
}Kod: Zaznacz cały
<!-- IF L_TOPIC_AUTHOR is S_USER_LOGGED_IN -->
<img src="styles/prosilver/theme/images/TH_thanks-icon.png">
<!-- ENDIF -->