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

if ( ! class_exists('CI_Encrypt'))
{
	require_once(BASEPATH.'libraries/Encrypt'.EXT);
}

$obj =& get_instance();
$obj->encrypt = new CI_Encrypt();
$obj->ci_is_loaded[] = 'encrypt';

?>