if (isset($_POST['request'])) { if ($_POST['request'] == 'update') { if (isset($_POST['cgi_config']['physical_html_path'])) { $cgiConfig->setPhysicalHtmlPath($_POST['cgi_config']['physical_html_path']); } if (isset($_POST['cgi_config']['url_html_path'])) { $cgiConfig->setUrlHtmlPath($_POST['cgi_config']['url_html_path']); } if (isset($_POST['cgi_config']['use_authentication'])) { $cgiConfig->setUseAuthentication($_POST['cgi_config']['use_authentication']); } if (isset($_POST['cgi_config']['default_user_name'])) { $cgiConfig->setDefaultUserName($_POST['cgi_config']['default_user_name']); } if (isset($_POST['cgi_config']['authorized_for_system_information'])) { $cgiConfig->setAuthorizedForSystemInformation($_POST['cgi_config']['authorized_for_system_information']); } if (isset($_POST['cgi_config']['authorized_for_system_commands'])) { $cgiConfig->setAuthorizedForSystemCommands($_POST['cgi_config']['authorized_for_system_commands']); } if (isset($_POST['cgi_config']['authorized_for_configuration_information'])) { $cgiConfig->setAuthorizedForConfigurationInformation($_POST['cgi_config']['authorized_for_configuration_information']); } if (isset($_POST['cgi_config']['authorized_for_all_hosts'])) { $cgiConfig->setAuthorizedForAllHosts($_POST['cgi_config']['authorized_for_all_hosts']); } if (isset($_POST['cgi_config']['authorized_for_all_host_commands'])) { $cgiConfig->setAuthorizedForAllHostCommands($_POST['cgi_config']['authorized_for_all_host_commands']); } if (isset($_POST['cgi_config']['authorized_for_all_services'])) { $cgiConfig->setAuthorizedForAllServices($_POST['cgi_config']['authorized_for_all_services']);