} } } if ( isset($environment) ) { $c_send_email = $environment->getConfiguration('c_send_email'); if (isset ($c_send_email)) { if ($c_send_email) { MediabirdConfig :: $disable_mail = false; } else { MediabirdConfig :: $disable_mail = true; } } else { MediabirdConfig :: $disable_mail = false; } } else { MediabirdConfig :: $disable_mail = false; } // proxy: address and port if ( isset($environment) ) { $c_proxy_ip = $environment->getConfiguration('c_proxy_ip'); $c_proxy_port = $environment->getConfiguration('c_proxy_port'); if ( isset($c_proxy_ip) and !empty($c_proxy_ip) ) { MediabirdConfig :: $proxy_address = $c_proxy_ip; if ( isset($c_proxy_port) and !empty($c_proxy_port) ) { MediabirdConfig :: $proxy_port = $c_proxy_port; }