'.$host_main.' '.$host_muc.' '.$host_pubsub.' '.$host_vjud.' '.$host_anonymous.' '.$host_bosh.' '.$host_bosh_main.' '.$host_bosh_mini.' '.$host_static.' '.$host_upload.' '.$bosh_proxy.'' ; // Write the main configuration writeXML('conf', 'hosts', $hosts_xml);