Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
writeas
/
web-core
mirror da
https://github.com/writeas/web-core
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
0
Attività
Sfoglia il codice sorgente
Mark PHP clients as bots
master
Matt Baer
6 anni fa
parent
b80eea5454
commit
e082f1e402
1 ha cambiato i file
con
1 aggiunte
e
0 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-0
bots/bots.go
+ 1
- 0
bots/bots.go
Vedi File
@@ -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
Scrivi
Anteprima
Caricamento…
Annulla
Salva