Вот конфиг:
- Код: Выделить всё
$config['sess_cookie_name'] = 'sl_session';
$config['sess_expiration'] = 7200;
$config['sess_encrypt_cookie'] = TRUE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;
Получаю ошибку
A PHP Error was encountered
Severity: Warning
Message: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize
Filename: libraries/Encrypt.php
Line Number: 284
