Binary filetypes was never read by the application from the config class

This commit is contained in:
Krunch
2014-05-19 17:23:02 -04:00
parent bf00727b56
commit c8fcb7cda8

View File

@@ -34,6 +34,7 @@ class Application extends SilexApplication
$this['date.format'] = $config->get('date', 'format') ? $config->get('date', 'format') : 'd/m/Y H:i:s'; $this['date.format'] = $config->get('date', 'format') ? $config->get('date', 'format') : 'd/m/Y H:i:s';
$this['theme'] = $config->get('app', 'theme') ? $config->get('app', 'theme') : 'default'; $this['theme'] = $config->get('app', 'theme') ? $config->get('app', 'theme') : 'default';
$this['filetypes'] = $config->getSection('filetypes'); $this['filetypes'] = $config->getSection('filetypes');
$this['binary_filetypes'] = $config->getSection('binary_filetypes');
$this['cache.archives'] = $this->getCachePath() . 'archives'; $this['cache.archives'] = $this->getCachePath() . 'archives';
// Register services // Register services