using DIRECTORY_SEPERATOR instead of a /
This commit is contained in:
parent
d3105bc261
commit
3b2c0c40ea
|
@ -19,9 +19,9 @@ class View_Kohana_Layout extends Kostache
|
|||
{
|
||||
$foo = explode('_', get_class($this));
|
||||
array_shift($foo);
|
||||
$this->_template = strtolower(implode('/', $foo));
|
||||
$this->_template = strtolower(implode(DIRECTORY_SEPERATOR, $foo));
|
||||
}
|
||||
|
||||
|
||||
$this->_partials+=array(
|
||||
'body' => $this->_template
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue