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

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

if ( ! class_exists('CI_Session'))
{
	require_once(BASEPATH.'libraries/Session'.EXT);
}

$obj =& get_instance();
$obj->session = new CI_Session();
$obj->ci_is_loaded[] = 'session';

?>