mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 05:28:44 +02:00
N°8910 - Upgrade Symfony packages (#811)
This commit is contained in:
@@ -64,6 +64,12 @@ class TemplateIterator implements \IteratorAggregate
|
||||
if (null !== $this->defaultPath) {
|
||||
$templates[] = $this->findTemplatesInDirectory($this->defaultPath.'/bundles/'.$bundle->getName(), $name);
|
||||
}
|
||||
|
||||
/*
|
||||
* The bundle's own templates are also registered with the "!" prefix namespace - this matches
|
||||
* @see \Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension::load()
|
||||
*/
|
||||
$templates[] = $this->findTemplatesInDirectory($bundleTemplatesDir, '!'.$name);
|
||||
}
|
||||
|
||||
foreach ($this->paths as $dir => $namespace) {
|
||||
|
||||
Reference in New Issue
Block a user