diff options
author | Derek Jones <derek.jones@ellislab.com> | 2010-08-31 07:30:21 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2010-08-31 07:30:21 +0200 |
commit | 7284f06585a689702ea86684893c999065621460 (patch) | |
tree | ade674a43557d452e9f3c1fd612dd65f20479fd3 /system | |
parent | ac01acc5d786226f6372c2dc2bab81c7d8f3bd06 (diff) |
changed key comparison to be loosely typed, so an error would be triggered when an empty string is attempted to be used as an encryption key
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Encrypt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index c893fbf9e..44fdce03b 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php @@ -72,7 +72,7 @@ class CI_Encrypt { $CI =& get_instance(); $key = $CI->config->item('encryption_key'); - if ($key === FALSE) + if ($key == FALSE) { show_error('In order to use the encryption class requires that you set an encryption key in your config file.'); } |