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

@ -79,6 +79,11 @@ class adminAdminView extends admin
config('crypto.session_key', Rhymix\Framework\Security::getRandom(64, 'alnum'));
$changed = true;
}
if (config('file.folder_structure') === null)
{
config('file.folder_structure', 1);
$changed = true;
}
// Save new configuration.
if ($changed)