Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit f143530

Browse files
committed
Register WebServerBundle
1 parent 2ca64db commit f143530

File tree

2 files changed

+36
-33
lines changed

2 files changed

+36
-33
lines changed

app/AppKernel.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ public function registerBundles()
2323
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
2424
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
2525
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
26+
27+
if ('dev' === $this->getEnvironment()) {
28+
$bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
29+
}
2630
}
2731

2832
return $bundles;

composer.lock

Lines changed: 32 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)