Prechádzať zdrojové kódy

Add Sensio bundles to the kernel

Jordi Boggiano 13 rokov pred
rodič
commit
95e6ceda48
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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;