diff --git a/src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml b/src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml index a4bcf14f0..bed42d823 100644 --- a/src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml +++ b/src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml @@ -71,8 +71,8 @@ - - + + @@ -283,6 +283,7 @@ + diff --git a/src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml b/src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml index a2020be13..cdf4ccd56 100644 --- a/src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml +++ b/src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml @@ -449,12 +449,18 @@ interfaces_wireless.php* - - Wizard subsystem + + General Setup Wizard - wizard.php* + wizard.php?xml=general* - + + + OpenVPN Server Wizard + + wizard.php?xml=openvpn* + + Services: DHCP Relay diff --git a/src/www/fbegin.inc b/src/www/fbegin.inc index ac2f8cca4..aa92c41b7 100644 --- a/src/www/fbegin.inc +++ b/src/www/fbegin.inc @@ -29,34 +29,6 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* Determine automated help URL. Should output the page name and - parameters separately */ -$uri_split = ""; -preg_match("/\/(.*)\?(.*)/", $_SERVER["REQUEST_URI"], $uri_split); - -/* If there was no match, there were no parameters, just grab the filename - Otherwise, use the matched filename from above. */ -if (empty($uri_split[0])) { - $pagename = ltrim($_SERVER["REQUEST_URI"], '/'); -} else { - $pagename = $uri_split[1]; -} -/* If the page name is still empty, the user must have requested / (index.php) */ -if (empty($pagename)) { - $pagename = "index.php"; -} - -/* If the filename is wizard.php, reparse looking for the .xml filename */ -if ($pagename == 'wizard.php') { - $param_split = explode('&', $uri_split[2]); - foreach ($param_split as $param) { - if (substr($param, 0, 4) == "xml=") { - $xmlfile = explode('=', $param); - $pagename = $xmlfile[1]; - } - } -} - $aclObj = new \OPNsense\Core\ACL(); /* display a top alert bar if need be */