Skip to content

Commit

Permalink
Update IndexController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Mar 20, 2024
1 parent 1aede18 commit 191bafd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion plib/controllers/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,13 @@ public function installAction()

if ($this->getRequest()->isPost() && $form->isValid($this->getRequest()->getPost())) {
$post = $this->getRequest()->getPost();
return $this->installMicroweberOnDomainQueue($post);
$responseDomainQueue = $this->installMicroweberOnDomainQueue($post);
if (isset($responseDomainQueue['redirect'])) {
return $this->_redirect($responseDomainQueue['redirect']);
}
if (isset($responseDomainQueue['error'])) {
$this->_status->addMessage('error', $responseDomainQueue['error']);
}
}

$this->view->form = $form;
Expand Down

0 comments on commit 191bafd

Please sign in to comment.