Merge pull request #87 from woodent/patch-1

Simplify output buffering code
pull/89/head
Mike Cao 11 years ago
commit 576a93efa1

@ -122,9 +122,7 @@ class View {
ob_start(); ob_start();
$this->render($file, $data); $this->render($file, $data);
$output = ob_get_contents(); $output = ob_get_clean();
ob_end_clean();
return $output; return $output;
} }

Loading…
Cancel
Save