blob: 390b44007f67208b631821cd752e7686ea52d97b [file] [log] [blame]
adminb0dd10f2006-08-25 17:25:49 +00001<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
2
3/**
4 * Loads and instantiates calendar class
5 *
6 * @access private called by the app controller
7 */
8
9if ( ! class_exists('CI_Calendar'))
10{
11 require_once(BASEPATH.'libraries/Calendar'.EXT);
12}
13
14$obj =& get_instance();
adminb0dd10f2006-08-25 17:25:49 +000015$obj->calendar = new CI_Calendar();
16$obj->ci_is_loaded[] = 'calendar';
17
18?>