summaryrefslogtreecommitdiffstats
path: root/system/libraries/Parser.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-23 06:22:39 +0200
committeradmin <devnull@localhost>2006-09-23 06:22:39 +0200
commit212a3fa070a02c812b84ca937c5cb411400e6f3d (patch)
treef178c27240206f444aa88fd6fc74a87ad57518b4 /system/libraries/Parser.php
parentbaa581846cbf04b0c225cbb21b0f6138ff805d79 (diff)
Diffstat (limited to 'system/libraries/Parser.php')
-rw-r--r--system/libraries/Parser.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/libraries/Parser.php b/system/libraries/Parser.php
index b07b64fdd..17a985fd7 100644
--- a/system/libraries/Parser.php
+++ b/system/libraries/Parser.php
@@ -44,8 +44,6 @@ class CI_Parser {
*/
function parse($template, $data, $return = FALSE)
{
- $OUT =& _load_class('CI_Output');
-
$obj =& get_instance();
$template = $obj->load->view($template, $data, TRUE);
@@ -68,7 +66,7 @@ class CI_Parser {
if ($return == FALSE)
{
- $OUT->final_output = $template;
+ $obj->output->final_output = $template;
}
return $template;