From 3a1356d68769b8e2486d0becda84fe611f5a74b5 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 3 Apr 2024 09:59:27 -0700 Subject: [PATCH] route to website info page after adding new site --- panel/classes/Panel/Vhost/VhostsAdd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/classes/Panel/Vhost/VhostsAdd.php b/panel/classes/Panel/Vhost/VhostsAdd.php index c84ed0b..e213c00 100644 --- a/panel/classes/Panel/Vhost/VhostsAdd.php +++ b/panel/classes/Panel/Vhost/VhostsAdd.php @@ -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."; } $f3->set('SESSION.messages', $messages); - $f3->reroute("/Websites"); + $f3->reroute("/Websites/$domain"); } else { $messages[] = "Error adding website."; $f3->set('SESSION.messages', $messages);