protected function getConfigFromXmlFile($filepath)
	{
		$dom = new DOMDocument;
		$dom->loadXML(file_get_contents($filepath), LIBXML_NOCDATA);

		return $this->getElementConfig($dom->documentElement);
	}
protected function getConfigFromXmlFile($filepath)
	{
		$dom = new DOMDocument;
		$dom->loadXML(file_get_contents($filepath), LIBXML_NOCDATA);

		return $this->getElementConfig($dom->documentElement);
	}
protected function getConfigFromXmlFile ( $ filepath ) { $ dom = new DOMDocument ; $ dom -> loadXML ( file_get_contents ( $ filepath ) , LIBXML_NOCDATA ) ; return $ this -> getElementConfig ( $ dom -> documentElement ) ; }
Extract a site's config from its XML file

@param  string $filepath Path to the XML file
@return mixed
Extract a site s config from its XML file