using DIRECTORY_SEPERATOR instead of a /

This commit is contained in:
Caspar 2010-08-19 01:17:52 +08:00 committed by Jeremy Bush
parent d3105bc261
commit 3b2c0c40ea

View file

@ -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
);