[WebBundle] removed unneeded code
This commit is contained in:
parent
ffc8964003
commit
f6a2b74a91
@ -34,11 +34,6 @@ class Mustache
|
|||||||
{
|
{
|
||||||
foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($dir), \RecursiveIteratorIterator::LEAVES_ONLY) as $file)
|
foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($dir), \RecursiveIteratorIterator::LEAVES_ONLY) as $file)
|
||||||
{
|
{
|
||||||
if ($file instanceof \DirectoryIterator && $file->isDot())
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
static::renderFile((string) $file, $parameters);
|
static::renderFile((string) $file, $parameters);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user