Browse Source

3 slashes for Doxygen, 2 are enough for PHP ... :-(

Signed-off-by: Roland Häder <roland@mxchange.org>
pull/3010/head
Roland Häder 4 years ago
parent
commit
ba45a292c4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/network.php

+ 1
- 1
include/network.php View File

@ -398,7 +398,7 @@ function validate_url(&$url) {
if(substr($url,0,4) != 'http')
$url = 'http://' . $url;
// @TODO Really supress function outcomes? Why not find them + debug them?
/// @TODO Really supress function outcomes? Why not find them + debug them?
$h = @parse_url($url);
if((is_array($h)) && (dns_get_record($h['host'], DNS_A + DNS_CNAME + DNS_PTR) || filter_var($h['host'], FILTER_VALIDATE_IP) )) {


Loading…
Cancel
Save