This commit is contained in:
Bruno Rybársky 2024-04-26 01:33:20 +02:00
parent f775a4d0cb
commit c261e28427

@ -156,7 +156,7 @@ function getUploadPath($type = "unknown", $filename = "hehe"): string
{
$type = makePathSafe($type);
$id = makePathSafe($_SESSION["ID"]);
$date = makePathSafe(date("Y/m/d"));
$date = makePathSafe(date("YmdHis"));
$filename = makePathSafe($filename);
$extension = match ($type) {
'image' => 'webp',