diff options
Diffstat (limited to 'system/libraries/Parser.php')
-rw-r--r-- | system/libraries/Parser.php | 4 |
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; |