| | |
| | | //* Get global web config |
| | | $web_config = $app->getconf->get_server_config($server_id, 'web'); |
| | | |
| | | $sql = "SELECT ip_address FROM server_ip WHERE ip_type = '$ip_type' AND server_id = $server_id"; |
| | | $ips = $app->db->queryAllRecords($sql); |
| | | $sql = "SELECT ip_address FROM server_ip WHERE ip_type = ? AND server_id = ?"; |
| | | $ips = $app->db->queryAllRecords($sql, $ip_type, $server_id); |
| | | // $ip_select = "<option value=''></option>"; |
| | | if($ip_type == 'IPv4'){ |
| | | $ip_select = ($web_config['enable_ip_wildcard'] == 'y')?"*#":""; |