Show correct filename case in template loading error
This commit is contained in:
parent
189a3c0ade
commit
57c4b91d8b
|
@ -29,7 +29,7 @@ class Mustache_Loader_Kohana implements Mustache_Loader, Mustache_Loader_Mutable
|
|||
|
||||
protected function _load_file($name)
|
||||
{
|
||||
$filename = Kohana::find_file($this->_base_dir, strtolower($name), $this->_extension);
|
||||
$filename = Kohana::find_file($this->_base_dir, $name = strtolower($name), $this->_extension);
|
||||
|
||||
if ( ! $filename)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue