mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -23,6 +23,7 @@ class ClientController extends Controller | |||||||
|               } |               } | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|  |         if(isset($_SERVER['HTTP_USER_AGENT'])) { | ||||||
|           if(strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult%20X') !== false) { |           if(strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult%20X') !== false) { | ||||||
|             die($this->quantumultX($user, $server)); |             die($this->quantumultX($user, $server)); | ||||||
|           } |           } | ||||||
| @@ -32,6 +33,7 @@ class ClientController extends Controller | |||||||
|           if(strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'clash') !== 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)); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user