added support for setting show_auto through ENV vars

This commit is contained in:
everzet
2012-09-10 21:20:33 +02:00
parent 9e2c34cbd0
commit 63b6c126ce

View File

@@ -141,7 +141,7 @@ class Extension implements ExtensionInterface
defaultValue(isset($config['files_path']) ? $config['files_path'] : null)-> defaultValue(isset($config['files_path']) ? $config['files_path'] : null)->
end()-> end()->
booleanNode('show_auto')-> booleanNode('show_auto')->
defaultValue(false)-> defaultValue(isset($config['show_auto']) ? $config['show_auto'] : null)->
end()-> end()->
scalarNode('show_cmd')-> scalarNode('show_cmd')->
defaultValue(isset($config['show_cmd']) ? $config['show_cmd'] : null)-> defaultValue(isset($config['show_cmd']) ? $config['show_cmd'] : null)->