1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-25 06:00:43 +02:00

feat(admin-panel): Add date setup on user installation #186

This commit is contained in:
Awilum
2019-09-02 21:58:32 +03:00
parent 9e913f4fe6
commit 0355a2dea7

View File

@@ -127,7 +127,7 @@ class UsersController extends Controller
$uuid = Uuid::uuid4()->toString();
// Get time
$time = time();
$time = date($this->registry->get('settings.date_format'), time());
// Create accounts directory and account
Filesystem::createDir(PATH['site'] . '/accounts/');