This website works better with JavaScript.
首頁
探索
說明
登入
writeas
/
web-core
镜像来自
https://github.com/writeas/web-core
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
0
Activity
瀏覽代碼
Mark PHP clients as bots
master
Matt Baer
6 年之前
父節點
b80eea5454
當前提交
e082f1e402
共有
1 個文件被更改
,包括
1 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
bots/bots.go
+ 1
- 0
bots/bots.go
查看文件
@@ -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
Write
Preview
Loading…
取消
儲存