Chciałbym wrzucić na forum faviconkę (czyli małą ikonkę przy adresie), mam ją już na serwerze, ale nie wiem gdzie mam wpisać kod.. Wiem, że ma to być:
Kod: Zaznacz cały
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">Pozdrawiam
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
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">Kod: Zaznacz cały
<LINK REL="SHORTCUT ICON" HREF="templates/TwójStyl/images/favicon.ico">