blob: 5eae533ba60a532788364ffb9299613cdd813fde [file] [log] [blame]
<?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';
?>