From c261e28427f3880d4bd9d4e25bd3ffe43ae973f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 26 Apr 2024 01:33:20 +0200 Subject: [PATCH] MEME --- lib/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',