route to website info page after adding new site
This commit is contained in:
parent
c578cae9f1
commit
3a1356d687
|
@ -99,7 +99,7 @@ class VhostsAdd extends \Panel\Vhost {
|
||||||
$messages[] = "Note: New user is being jailed. Setting up the jail environment takes about a minute to complete and is being run in the background now.";
|
$messages[] = "Note: New user is being jailed. Setting up the jail environment takes about a minute to complete and is being run in the background now.";
|
||||||
}
|
}
|
||||||
$f3->set('SESSION.messages', $messages);
|
$f3->set('SESSION.messages', $messages);
|
||||||
$f3->reroute("/Websites");
|
$f3->reroute("/Websites/$domain");
|
||||||
} else {
|
} else {
|
||||||
$messages[] = "Error adding website.";
|
$messages[] = "Error adding website.";
|
||||||
$f3->set('SESSION.messages', $messages);
|
$f3->set('SESSION.messages', $messages);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user