浏览代码

Add Sensio bundles to the kernel

Jordi Boggiano 13 年之前
父节点
当前提交
95e6ceda48
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/AppKernel.php

+ 2 - 0
app/AppKernel.php

@@ -26,6 +26,8 @@ class AppKernel extends Kernel
 
         if (in_array($this->getEnvironment(), array('dev', 'test'))) {
             $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
+            $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
+            $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
         }
 
         return $bundles;