mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 11:10:57 +01:00
Binary filetypes was never read by the application from the config class
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user