blob: 5cf663725ab7386f571068da2aee0c50d92c8453 [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();
15
16$obj->calendar = new CI_Calendar();
17$obj->ci_is_loaded[] = 'calendar';
18
19?>