protected function loadConfigFile()
{
if (is_file($this->_configFile)) {
if ($this->getApplication()->getConfigurationType() == TApplication::CONFIG_TYPE_PHP) {
$config = (include $this->_configFile);
$this->loadUrlMappings($dom);
} else {
$dom = new TXmlDocument();
$dom->loadFromFile($this->_configFile);
$this->loadUrlMappings($dom);
}
} else {
throw new TConfigurationException('urlmapping_configfile_inexistent', $this->_configFile);
}
}