Fixing a bug created yesterday with overzealous constructor replacements.
diff --git a/system/libraries/Parser.php b/system/libraries/Parser.php
index 5d9203a..4cac739 100644
--- a/system/libraries/Parser.php
+++ b/system/libraries/Parser.php
@@ -42,7 +42,7 @@
* @param bool
* @return string
*/
- public function __construct($template, $data, $return = FALSE)
+ public function parse($template, $data, $return = FALSE)
{
$CI =& get_instance();
$template = $CI->load->view($template, $data, TRUE);
@@ -209,4 +209,4 @@
// END Parser Class
/* End of file Parser.php */
-/* Location: ./system/libraries/Parser.php */
\ No newline at end of file
+/* Location: ./system/libraries/Parser.php */