From 8c0de1a492d9d22ec9984ad69b1ec598ac1e4adc Mon Sep 17 00:00:00 2001 From: Rogier Neeleman Date: Mon, 7 Mar 2016 23:02:45 +0100 Subject: [PATCH] Default database for sessions store --- application/config/config_example.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/config/config_example.php b/application/config/config_example.php index a41a519..e841aec 100644 --- a/application/config/config_example.php +++ b/application/config/config_example.php @@ -367,10 +367,10 @@ $config['encryption_key'] = ''; | except for 'cookie_prefix' and 'cookie_httponly', which are ignored here. | */ -$config['sess_driver'] = 'files'; +$config['sess_driver'] = 'database'; $config['sess_cookie_name'] = 'session'; $config['sess_expiration'] = 7200; -$config['sess_save_path'] = NULL; +$config['sess_save_path'] = 'sessions'; $config['sess_match_ip'] = FALSE; $config['sess_time_to_update'] = 300; $config['sess_regenerate_destroy'] = FALSE;