mirror of
https://github.com/v2board/v2board.git
synced 2025-01-31 02:29:14 +08:00
update
This commit is contained in:
parent
24db28a358
commit
96fb15158b
@ -22,10 +22,10 @@ class ClientController extends Controller
|
||||
}
|
||||
}
|
||||
}
|
||||
if(strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult-X') !== -1) {
|
||||
if(strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult-X') !== false) {
|
||||
die($this->quantumultX($user, $server));
|
||||
}
|
||||
if(strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult') !== -1) {
|
||||
if(strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult') !== false) {
|
||||
die($this->quantumult($user, $server));
|
||||
}
|
||||
die($this->origin($user, $server));
|
||||
|
Loading…
Reference in New Issue
Block a user