mirror of
https://github.com/typecho/typecho.git
synced 2025-03-18 17:09:41 +01:00
Remove isFlash detector
This commit is contained in:
parent
7f3cd2b9e8
commit
423c99f3bd
@ -803,17 +803,6 @@ class Typecho_Request
|
||||
return 'XMLHttpRequest' == $this->getServer('HTTP_X_REQUESTED_WITH');
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断是否为flash
|
||||
*
|
||||
* @access public
|
||||
* @return boolean
|
||||
*/
|
||||
public function isFlash(): bool
|
||||
{
|
||||
return 'Shockwave Flash' == $this->getServer('USER_AGENT');
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断输入是否满足要求
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user