示例#1
0
 public static function getServerList()
 {
     $servers = array_merge(CClusterDBNode::getServerList(), CClusterMemcache::getServerList(), CClusterWebnode::getServerList());
     if (empty($servers)) {
         $servers[] = array("ID" => 0, "HOST" => "", "DEDICATED" => "Y", "EDIT_URL" => "");
     }
     return $servers;
 }