浏览代码

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()