update include update env file

This commit is contained in:
xiaomlove
2024-12-30 01:35:05 +08:00
parent 3cf7b36ad6
commit 0f88ab8d82
8 changed files with 38 additions and 165 deletions
-1
View File
@@ -34,7 +34,6 @@ abstract class Storage {
throw new \Exception("Failed to move uploaded file.");
}
$url = $this->upload($newFilepath);
@unlink($filepath);
@unlink($newFilepath);
} else {
$url = $this->upload($filepath);