protected function loadExternalXml($includeNode, $configPath)
{
if (($when = $includeNode->getAttribute('when')) === null) {
$when = true;
}
if (($filePath = $includeNode->getAttribute('file')) === null) {
throw new TConfigurationException('appconfig_includefile_required');
}
if (isset($this->_includes[$filePath])) {
$this->_includes[$filePath] = '(' . $this->_includes[$filePath] . ') || (' . $when . ')';
} else {
$this->_includes[$filePath] = $when;
}
$this->_empty = false;
}