diff --git a/app/src/Model/SystemUpdateModel.php b/app/src/Model/SystemUpdateModel.php index 9c67b000..860455eb 100644 --- a/app/src/Model/SystemUpdateModel.php +++ b/app/src/Model/SystemUpdateModel.php @@ -209,7 +209,7 @@ public static function updateSystemByUrl(string $zip_url) try { static::updateSystemByLocalZip($zip_path); } finally { - @unlink($zip_url); + @unlink($zip_path); } }