Add file.folder_structure setting to simplify file storage hierarchy

This commit is contained in:
Kijin Sung 2018-10-18 16:06:53 +09:00
parent cd084d6073
commit f80ea85b6f
4 changed files with 51 additions and 10 deletions

View file

@ -63,6 +63,7 @@ return array(
'refresh' => 300,
),
'file' => array(
'folder_structure' => 2,
'umask' => '0022',
),
'mail' => array(

View file

@ -247,6 +247,7 @@ class ConfigParser
}
// Convert miscellaneous configuration.
$config['file']['folder_structure'] = 1;
$config['file']['umask'] = Storage::recommendUmask();
$config['mobile']['enabled'] = $db_info->use_mobile_view === 'N' ? false : true;
$config['use_prepared_statements'] = $db_info->use_prepared_statements === 'Y' ? true : false;