Skip to content

Commit a862f61

Browse files
committed
remove twig
1 parent afa50f4 commit a862f61

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/packages/twig.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/Core/ApplicationKernel.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
122122
$loader->load($this->getApplicationDir() . '/config/parameters.yml');
123123
$loader->load($this->getRootDir() . '/config/config_' . $this->getEnvironment() . '.yml');
124124
$loader->load($this->getApplicationDir() . '/config/config_modules.yml');
125-
$loader->load($this->getApplicationDir() . '/config/packages/twig.yaml');
125+
126+
$twigConfigFile = $this->getApplicationDir() . '/config/packages/twig.yaml';
127+
if (file_exists($twigConfigFile)) {
128+
$loader->load($twigConfigFile);
129+
}
126130
}
127131

128132
/**

0 commit comments

Comments
 (0)