forked from projects/fipamo
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:
parent
e02f99da94
commit
7d78476870
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class InitService
|
||||||
//clean up temp dir and zip file
|
//clean up temp dir and zip file
|
||||||
$this->docs::deleteFolder($tempDir);
|
$this->docs::deleteFolder($tempDir);
|
||||||
$zip->close();
|
$zip->close();
|
||||||
unlink(env('FIPAMO_DIR') . $file->getClientOriginalName());
|
unlink(env('FIPAMO_DIR') . '/' . $file->getClientOriginalName());
|
||||||
$result = [
|
$result = [
|
||||||
'type' => 'requestGood',
|
'type' => 'requestGood',
|
||||||
'message' => 'Site Restored! Redirecting',
|
'message' => 'Site Restored! Redirecting',
|
||||||
|
|
Loading…
Reference in a new issue