[WebBundle] fixed Mustache... again
This commit is contained in:
parent
21d79d08dc
commit
bc71fac2bf
@ -38,7 +38,9 @@ class Mustache
|
|||||||
static public function renderDir($dir, $parameters)
|
static public function renderDir($dir, $parameters)
|
||||||
{
|
{
|
||||||
foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($dir), \RecursiveIteratorIterator::LEAVES_ONLY) as $file) {
|
foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($dir), \RecursiveIteratorIterator::LEAVES_ONLY) as $file) {
|
||||||
|
if ($file->isFile()) {
|
||||||
static::renderFile((string) $file, $parameters);
|
static::renderFile((string) $file, $parameters);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user