Use writable path for logs, cache and session
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user