mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 02:59:10 +08:00
support clash x
This commit is contained in:
parent
c935cec6c0
commit
680f2cc052
@ -29,7 +29,7 @@ class ClientController extends Controller
|
|||||||
if(strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult') !== false) {
|
if(strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult') !== false) {
|
||||||
die($this->quantumult($user, $server));
|
die($this->quantumult($user, $server));
|
||||||
}
|
}
|
||||||
if(strpos($_SERVER['HTTP_USER_AGENT'], 'clash_win') !== false) {
|
if(strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'clash') !== false) {
|
||||||
die($this->clash($user, $server));
|
die($this->clash($user, $server));
|
||||||
}
|
}
|
||||||
die($this->origin($user, $server));
|
die($this->origin($user, $server));
|
||||||
|
Loading…
Reference in New Issue
Block a user