blob: 5eae533ba60a532788364ffb9299613cdd813fde [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 encryption class
5 *
6 * @access private called by the app controller
7 */
8
9if ( ! class_exists('CI_Encrypt'))
10{
11 require_once(BASEPATH.'libraries/Encrypt'.EXT);
12}
13
14$obj =& get_instance();
15$obj->encrypt = new CI_Encrypt();
16$obj->ci_is_loaded[] = 'encrypt';
17
18?>