dnsPrimary = $aDnsPrimary;
$this->dnsSecondary = $aDnsSecondary;
}
};
$dns = new CDns( $_POST['dnsPrimary'], $_POST['dnsSecondary'] );
set_network_dns($user, $dns );
// Changing the hostname or DNS does not require the browser to lose communications with the server
// So we can just do a out()
print $status->out();
return;
}
else
{
// Load stuff up for the first time - We need the hostname fro this page
$netConf = get_network_configuration_ipv4( $user );
error_log("netConf = ". print_r($netConf, true) );
// print_r( $netConf );
// echo "
";
// var_dump( $netConf );
$dns = get_network_dns($user);
error_log("dns = ". print_r($dns, true) );
if( $IPv6Enabled )
{
error_log("IPv6 is enabled to calling its functions.");
$netConfV6 = get_network_configuration_ipv6( $user );
error_log("netConfV6 = ". print_r($netConfV6, true) );
}
}
// See if we should auto select one of the selection
//error_log( "_GET[selection] =" . $_GET['selection'] );
if( isset($_GET['selection']) )
$forceSel = $_GET['selection'];
else
$forceSel = -1;
?>