MEME
This commit is contained in:
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',
|
||||
|
Loading…
Reference in New Issue
Block a user