Procházet zdrojové kódy

Add Sensio bundles to the kernel

Jordi Boggiano před 13 roky
rodič
revize
95e6ceda48
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;