From 7d784768708f7c1842cd9aed4e8b77314de983f5 Mon Sep 17 00:00:00 2001 From: ro Date: Wed, 12 Jun 2024 15:09:58 -0600 Subject: [PATCH] restore site error path there was minor error with pathing to remove the back up zip once the restore process finised fixed --- app/Services/Upkeep/InitService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Upkeep/InitService.php b/app/Services/Upkeep/InitService.php index 6240bc4..5c58b8e 100644 --- a/app/Services/Upkeep/InitService.php +++ b/app/Services/Upkeep/InitService.php @@ -167,7 +167,7 @@ class InitService //clean up temp dir and zip file $this->docs::deleteFolder($tempDir); $zip->close(); - unlink(env('FIPAMO_DIR') . $file->getClientOriginalName()); + unlink(env('FIPAMO_DIR') . '/' . $file->getClientOriginalName()); $result = [ 'type' => 'requestGood', 'message' => 'Site Restored! Redirecting',