mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: sort leave alert
This commit is contained in:
		| @@ -358,4 +358,17 @@ class ServerService | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public function getAllServers() | ||||
|     { | ||||
|         $servers = array_merge( | ||||
|             $this->getShadowsocksServers(), | ||||
|             $this->getV2rayServers(), | ||||
|             $this->getTrojanServers() | ||||
|         ); | ||||
|         $this->mergeData($servers); | ||||
|         $tmp = array_column($servers, 'sort'); | ||||
|         array_multisort($tmp, SORT_ASC, $servers); | ||||
|         return $servers; | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user