route to DNS zone info after adding zone to DNS
This commit is contained in:
parent
5f494efeb0
commit
c578cae9f1
|
@ -48,7 +48,7 @@ class ZonesAdd extends \Panel\Vdns {
|
||||||
if ($result_code == 0) {
|
if ($result_code == 0) {
|
||||||
$messages[] = "Zone (Domain Name) $zone has been added to DNS.";
|
$messages[] = "Zone (Domain Name) $zone has been added to DNS.";
|
||||||
$f3->set('SESSION.messages', $messages);
|
$f3->set('SESSION.messages', $messages);
|
||||||
$f3->reroute("/DNS");
|
$f3->reroute("/DNS/$zone");
|
||||||
} else {
|
} else {
|
||||||
if (count($output) > 0) {
|
if (count($output) > 0) {
|
||||||
foreach ($output as $k=>$output_message) {
|
foreach ($output as $k=>$output_message) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user