public function reloadConfig()
{
$this->config = new Config($this->configFile);
if (($configStream = $this->getResource("config.yml")) !== null) {
$this->config->setDefaults(yaml_parse(config::fixYAMLIndexes(stream_get_contents($configStream))));
fclose($configStream);
}
}