Remove leading period on custom extensions. Fixes #50
This commit is contained in:
parent
2a1f3cd8cb
commit
5bbdd839fa
|
@ -13,7 +13,7 @@ class Mustache_Loader_Kohana implements Mustache_Loader, Mustache_Loader_Mutable
|
||||||
|
|
||||||
if (isset($options['extension']))
|
if (isset($options['extension']))
|
||||||
{
|
{
|
||||||
$this->_extension = '.' . ltrim($options['extension'], '.');
|
$this->_extension = ltrim($options['extension'], '.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue