summaryrefslogtreecommitdiffstats
path: root/system/init/init_calendar.php
blob: 5cf663725ab7386f571068da2aee0c50d92c8453 (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 calendar class
 *
 * @access	private called by the app controller
 */	

if ( ! class_exists('CI_Calendar'))
{
	require_once(BASEPATH.'libraries/Calendar'.EXT);
}

$obj =& get_instance();

$obj->calendar = new CI_Calendar();
$obj->ci_is_loaded[] = 'calendar';

?>