diff options
author | admin <devnull@localhost> | 2006-08-25 19:25:49 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-08-25 19:25:49 +0200 |
commit | b0dd10f8171945e0c1f3527dd1e9d18b043e01a7 (patch) | |
tree | c3583ba09e72217683c4304f4690df6ce39ba731 /system/init/init_encrypt.php |
Initial Import
Diffstat (limited to 'system/init/init_encrypt.php')
-rw-r--r-- | system/init/init_encrypt.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/system/init/init_encrypt.php b/system/init/init_encrypt.php new file mode 100644 index 000000000..5eae533ba --- /dev/null +++ b/system/init/init_encrypt.php @@ -0,0 +1,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'; + +?>
\ No newline at end of file |