Use writable path for logs, cache and session

This commit is contained in:
Olusesan Ameye
2022-10-23 00:09:44 +00:00
parent 64d482bcf5
commit 294230f850
+3 -3
View File
@@ -247,7 +247,7 @@ $config['log_threshold'] = 0;
| application/logs/ directory. Use a full server path with trailing slash.
|
*/
$config['log_path'] = '';
$config['log_path'] = APPPATH.'../writable/logs/';
/*
|--------------------------------------------------------------------------
@@ -306,7 +306,7 @@ $config['error_views_path'] = '';
| application/cache/ directory. Use a full server path with trailing slash.
|
*/
$config['cache_path'] = '';
$config['cache_path'] = APPPATH.'../writable/cache/';
/*
|--------------------------------------------------------------------------
@@ -393,7 +393,7 @@ $config['encryption_key'] = '';
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_save_path'] = APPPATH.'../writable/session';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;