Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
writeas
/
web-core
espelhamento de
https://github.com/writeas/web-core
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Atividade
Ver código fonte
Mark PHP clients as bots
master
Matt Baer
6 anos atrás
pai
b80eea5454
commit
e082f1e402
1 arquivos alterados
com
1 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-0
bots/bots.go
+ 1
- 0
bots/bots.go
Ver arquivo
@@ -219,6 +219,7 @@ var bots = map[string]bool{
var botPrefixes = []string{
"http.rb/2.2.2 (Mastodon",
"PHP/",
}
// IsBot returns whether or not the provided User-Agent string is a known bot
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar