Use multi-level style configs

This commit is contained in:
Dmitriy Simushev 2014-12-29 11:30:10 +00:00
parent ff1940cdc5
commit efbf92b012

View File

@ -101,7 +101,7 @@ abstract class AbstractStyle
// cache the result.
$loaded_config = $this->getConfigParser()->parse(file_get_contents($config_file));
$default_config = $this->getDefaultConfigurations();
$this->cachedConfigurations = $loaded_config + $default_config;
$this->cachedConfigurations = array_replace_recursive($default_config, $loaded_config);
}
return $this->cachedConfigurations;