Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 719aef8b58
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (43 sloc) 2.022 kb
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
// enable third-party bundles
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
new HWI\Bundle\OAuthBundle\HWIOAuthBundle(),
new Igorw\FileServeBundle\IgorwFileServeBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
// register your bundles here
new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(),
new Knp\Bundle\TimeBundle\KnpTimeBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new Knp\Bundle\ZendCacheBundle\KnpZendCacheBundle(),
new Knp\Bundle\DisqusBundle\KnpDisqusBundle(),
new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(),
new Nelmio\SolariumBundle\NelmioSolariumBundle(),
new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
// register your applications here
new Knp\Bundle\KnpBundlesBundle\KnpBundlesBundle(),
new Knp\Bundle\SitemapBundle\KnpSitemapBundle(),
);
if ($this->isDebug()) {
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
}
return $bundles;
}
public function registerContainerConfiguration(LoaderInterface $loader)
{
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
}
}
Jump to Line
Something went wrong with that request. Please try again.