Commit edae3915 authored by Taylor Otwell's avatar Taylor Otwell

Refactor the view class.

parent 4585f250
......@@ -115,7 +115,10 @@ class View {
$path = ($module == 'application') ? VIEW_PATH : MODULE_PATH.$module.'/views/';
if ($module != 'application') $view = substr($view, strpos($view, ':') + 2);
if ($module != 'application')
{
$view = substr($view, strpos($view, ':') + 2);
}
return array($module, $path, $view);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment