Remove leading period on custom extensions. Fixes #50

This commit is contained in:
Jeremy Bush 2012-11-13 14:42:25 -06:00
parent 2a1f3cd8cb
commit 5bbdd839fa

View file

@ -13,7 +13,7 @@ class Mustache_Loader_Kohana implements Mustache_Loader, Mustache_Loader_Mutable
if (isset($options['extension']))
{
$this->_extension = '.' . ltrim($options['extension'], '.');
$this->_extension = ltrim($options['extension'], '.');
}
}