diff --git a/lib/upload.php b/lib/upload.php index d391e33..e62e918 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -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',