|
|
|
@@ -974,6 +974,9 @@ class page_action extends tform_actions { |
|
|
|
WHERE client_id = "1" AND server_id = "'.$this->web_serv.'" AND ip_type="IPv4"'); |
|
|
|
}*/ |
|
|
|
} |
|
|
|
//Cargamos variable para el pdf |
|
|
|
$this->ip4_pdf = $this->ip4_servidor_web['ip_address']; |
|
|
|
|
|
|
|
if(!$this->ip6_servidor_web){ |
|
|
|
$this->ip6_servidor_web = $app->db->queryOneRecord( |
|
|
|
'SELECT ip_type, ip_address FROM server_ip |
|
|
|
@@ -1049,7 +1052,7 @@ class page_action extends tform_actions { |
|
|
|
|
|
|
|
|
|
|
|
//$la_ip4 = $app->db->queryOneRecord("SELECT ip_type, ip_address FROM server_ip WHERE ip_type='IPv4'"); |
|
|
|
$this->ip4_pdf = $this->ip4_servidor_web['ip_address'];//$dns_ip_servidor['ip_address'];//$la_ip4['ip_address']; |
|
|
|
//$dns_ip_servidor['ip_address'];//$la_ip4['ip_address']; |
|
|
|
/*print "<pre>IP4 DNS ";print_r($this->ip4_servidor_dns);print "</pre>\n"; |
|
|
|
print "<pre>IP6 DNS ";print_r($this->ip6_servidor_dns);print "</pre>\n"; |
|
|
|
print "<pre>IP4 WEB ";print_r($this->ip4_servidor_web);print "</pre>\n"; |
|
|
|
@@ -1097,6 +1100,9 @@ class page_action extends tform_actions { |
|
|
|
$global_web_config = $app->getconf->get_server_config($this->web_serv, 'server'); |
|
|
|
$this->ip4_servidor_web = $global_web_config; |
|
|
|
|
|
|
|
//Cargamos variable para el pdf |
|
|
|
$this->ip4_pdf = $this->ip4_servidor_web['ip_address']; |
|
|
|
|
|
|
|
if(!$this->ip4_servidor_web['ip_address']){ |
|
|
|
$servidor_web = $app->db->queryOneRecord( |
|
|
|
'SELECT server_id, web_server, server_name FROM server |
|
|
|
|