Browse code

Merge pull request #461 from Krunch/master

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

Klaus Silveira authored on 19/05/2014 21:55:33
Showing 1 changed files
... ...
@@ -34,6 +34,7 @@ class Application extends SilexApplication
34 34
         $this['date.format'] = $config->get('date', 'format') ? $config->get('date', 'format') : 'd/m/Y H:i:s';
35 35
         $this['theme'] = $config->get('app', 'theme') ? $config->get('app', 'theme') : 'default';
36 36
         $this['filetypes'] = $config->getSection('filetypes');
37
+        $this['binary_filetypes'] = $config->getSection('binary_filetypes');
37 38
         $this['cache.archives'] = $this->getCachePath() . 'archives';
38 39
 
39 40
         // Register services