Logomotion: mise à jour introduction framework javascript
This commit is contained in:
@ -22,7 +22,6 @@ class AppKernel extends Kernel
|
||||
{
|
||||
return array(
|
||||
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
|
||||
new Symfony\Bundle\TwigBundle\TwigBundle(),
|
||||
);
|
||||
}
|
||||
|
||||
@ -32,15 +31,15 @@ class AppKernel extends Kernel
|
||||
// PHP equivalent of config.yml
|
||||
$c->loadFromExtension('framework', array(
|
||||
'secret' => 'S0ME_SECRET',
|
||||
'templating' => [
|
||||
'engine' => [
|
||||
'twig'
|
||||
],
|
||||
],
|
||||
// 'templating' => [
|
||||
// 'engine' => [
|
||||
// 'twig'
|
||||
// ],
|
||||
// ],
|
||||
));
|
||||
$c->loadFromExtension('twig', [
|
||||
'default_path' => __DIR__.'/../templates',
|
||||
]);
|
||||
// $c->loadFromExtension('twig', [
|
||||
// 'default_path' => __DIR__.'/../templates',
|
||||
// ]);
|
||||
}
|
||||
|
||||
// Configuration des routes
|
||||
|
Reference in New Issue
Block a user