restore site error path

there was minor error with pathing to remove the back up zip once the
restore process finised

fixed
This commit is contained in:
ro 2024-06-12 15:09:58 -06:00
parent e02f99da94
commit 7d78476870
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50

View file

@ -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',