$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
$bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
+ $bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
if ('test' === $this->getEnvironment()) {
$bundles[] = new DAMA\DoctrineTestBundle\DAMADoctrineTestBundle();
'base_url' => 'http://localhost:8080/',
],
]);
+ } else {
+ $container->loadFromExtension('framework', [
+ 'assets' => [
+ 'base_url' => $container->getParameter('domain_name'),
+ ],
+ ]);
}
});
}