1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-03 23:27:32 +02:00

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
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));
}