summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Parser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Parser.php b/system/libraries/Parser.php
index 5d9203a91..4cac7394a 100644
--- a/system/libraries/Parser.php
+++ b/system/libraries/Parser.php
@@ -42,7 +42,7 @@ class CI_Parser {
* @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 @@ class CI_Parser {
// END Parser Class
/* End of file Parser.php */
-/* Location: ./system/libraries/Parser.php */ \ No newline at end of file
+/* Location: ./system/libraries/Parser.php */