CI 错误 In order to use the Session class you are required to set an encryption key

$config['encryption_key'] = 'your_encryption_key_here';
config.php 添加这个参数即可