소스 검색

fix spooler handling

Lukas Kahwe Smith 14 년 전
부모
커밋
3607f1d334
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Symfony/Bundle/SwiftmailerBundle/DependencyInjection/Configuration.php

+ 1 - 0
src/Symfony/Bundle/SwiftmailerBundle/DependencyInjection/Configuration.php

@@ -61,6 +61,7 @@ class Configuration
                 ->end()
             ->end()
             ->arrayNode('spool')
+                ->addDefaultsIfNotSet()
                 ->scalarNode('type')->defaultValue('file')->end()
                 ->scalarNode('path')->defaultValue('%kernel.cache_dir%/swiftmailer/pool')->end()
             ->end()