Do not override global settings

This commit is contained in:
Daniil Gentili 2019-12-28 23:55:09 +01:00
parent e600f91975
commit e5e82f0b58
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -326,7 +326,7 @@ class Magic
Magic::shutdown(1);
}));
}
if (!self::$altervista && !self::$zerowebhost) {
/*if (!self::$altervista && !self::$zerowebhost) {
$DohConfig = new DoHConfig(
[
new Nameserver('https://mozilla.cloudflare-dns.com/dns-query'),
@ -334,7 +334,7 @@ class Magic
]
);
resolver(new Rfc8484StubResolver($DohConfig));
}
}*/
if (PHP_SAPI !== 'cli') {
try {
\error_reporting(E_ALL);