summaryrefslogtreecommitdiffstats
path: root/system/init/init_parser.php
blob: 17824b566f5157f67511148e5d971beb9480df81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

/**
 * Loads and instantiates parser class
 *
 * @access	private called by the app controller
 */	

if ( ! class_exists('CI_Parser'))
{
	require_once(BASEPATH.'libraries/Parser'.EXT);
}

$obj =& get_instance();
$obj->parser = new CI_Parser();
$obj->ci_is_loaded[] = 'parser';


?>