Fix configuration & docker file

This commit is contained in:
2022-11-27 06:23:02 +08:00
parent 3d719c230a
commit d17fa32058
2 changed files with 9 additions and 11 deletions
+5 -5
View File
@@ -35,7 +35,7 @@ $config['base_url'] = '';
| variable so that it is blank.
|
*/
$config['index_page'] = 'index.php';
$config['index_page'] = ''; //index.php';
/*
|--------------------------------------------------------------------------
@@ -52,7 +52,7 @@ $config['index_page'] = 'index.php';
|
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
*/
$config['uri_protocol'] = 'REQUEST_URI';
$config['uri_protocol'] = 'AUTO'; // 'REQUEST_URI';
/*
|--------------------------------------------------------------------------
@@ -236,7 +236,7 @@ $config['log_threshold'] = 0;
| application/logs/ directory. Use a full server path with trailing slash.
|
*/
$config['log_path'] = '';
$config['log_path'] = BASEPATH . 'writable/logs';
/*
|--------------------------------------------------------------------------
@@ -295,7 +295,7 @@ $config['error_views_path'] = '';
| application/cache/ directory. Use a full server path with trailing slash.
|
*/
$config['cache_path'] = '';
$config['cache_path'] = BASEPATH . 'writable/cache';
/*
|--------------------------------------------------------------------------
@@ -387,7 +387,7 @@ $config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_samesite'] = 'Lax';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_save_path'] = BASEPATH . 'writable/session';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;