add CORS
This commit is contained in:
@@ -68,14 +68,7 @@ $lookupTimeMs = round((microtime(true) - $startTime) * 1000, 2);
|
||||
// -------------------------------
|
||||
// Resolver info
|
||||
// -------------------------------
|
||||
$resolver = 'system';
|
||||
$resolvConf = '/etc/resolv.conf';
|
||||
if (is_readable($resolvConf)) {
|
||||
$content = file_get_contents($resolvConf);
|
||||
if (preg_match('/nameserver\s+([^\s]+)/', $content, $m)) {
|
||||
$resolver = $m[1];
|
||||
}
|
||||
}
|
||||
$resolver = 'hosting-default';
|
||||
|
||||
// -------------------------------
|
||||
// Provider detection (heuristic)
|
||||
|
||||
Reference in New Issue
Block a user