Esempio n. 1
0
File: cgi.php Progetto: Evolix/lilac
     $cgiConfig->setHostUnreachableSound($_POST['cgi_config']['host_unreachable_sound']);
 }
 if (isset($_POST['cgi_config']['host_down_sound'])) {
     $cgiConfig->setHostDownSound($_POST['cgi_config']['host_down_sound']);
 }
 if (isset($_POST['cgi_config']['service_critical_sound'])) {
     $cgiConfig->setServiceCriticalSound($_POST['cgi_config']['service_critical_sound']);
 }
 if (isset($_POST['cgi_config']['service_warning_sound'])) {
     $cgiConfig->setServiceWarningSound($_POST['cgi_config']['service_warning_sound']);
 }
 if (isset($_POST['cgi_config']['service_unknown_sound'])) {
     $cgiConfig->setServiceUnknownSound($_POST['cgi_config']['service_unknown_sound']);
 }
 if (isset($_POST['cgi_config']['ping_syntax'])) {
     $cgiConfig->setPingSyntax($_POST['cgi_config']['ping_syntax']);
 }
 if (isset($_POST['cgi_config']['lock_author_names'])) {
     $cgiConfig->setLockAuthorNames($_POST['cgi_config']['lock_author_names']);
 }
 if (isset($_POST['cgi_config']['escape_html_tags'])) {
     $cgiConfig->setEscapeHtmlTags($_POST['cgi_config']['escape_html_tags']);
 }
 if (isset($_POST['cgi_config']['notes_url_target'])) {
     $cgiConfig->setNotesUrlTarget($_POST['cgi_config']['notes_url_target']);
 }
 if (isset($_POST['cgi_config']['action_url_target'])) {
     $cgiConfig->setActionUrlTarget($_POST['cgi_config']['action_url_target']);
 }
 if (isset($_POST['cgi_config']['enable_splunk_integration'])) {
     $cgiConfig->setEnableSplunkIntegration($_POST['cgi_config']['enable_splunk_integration']);