feat: add config option "path" for file cache (#3297)

This commit is contained in:
Dag 2023-03-20 19:10:01 +01:00 committed by GitHub
parent 4e616c7092
commit 9e9a697b8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 67 additions and 27 deletions

View file

@ -226,3 +226,8 @@ function now(): \DateTimeImmutable
{
return new \DateTimeImmutable();
}
function create_random_string(int $bytes = 16): string
{
return bin2hex(openssl_random_pseudo_bytes($bytes));
}