admin | b0dd10f | 2006-08-25 17:25:49 +0000 | [diff] [blame] | 1 | <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); |
2 | |||||
3 | /** | ||||
4 | * Loads and instantiates session class | ||||
5 | * | ||||
6 | * @access private called by the app controller | ||||
7 | */ | ||||
8 | |||||
9 | if ( ! class_exists('CI_Session')) | ||||
10 | { | ||||
11 | require_once(BASEPATH.'libraries/Session'.EXT); | ||||
12 | } | ||||
13 | |||||
14 | $obj =& get_instance(); | ||||
15 | $obj->session = new CI_Session(); | ||||
16 | $obj->ci_is_loaded[] = 'session'; | ||||
17 | |||||
18 | ?> |