|
@@ -1,5 +1,6 @@
|
|
<?php declare(strict_types=1);
|
|
<?php declare(strict_types=1);
|
|
umask(0077);
|
|
umask(0077);
|
|
|
|
+const LF = "\n";
|
|
|
|
|
|
set_error_handler(function ($level, $message, $file = '', $line = 0) {
|
|
set_error_handler(function ($level, $message, $file = '', $line = 0) {
|
|
throw new ErrorException($message, 0, $level, $file, $line);
|
|
throw new ErrorException($message, 0, $level, $file, $line);
|
|
@@ -36,8 +37,6 @@ header('Content-Language: ' . LOCALE);
|
|
|
|
|
|
const SERVICES_USER = ['reg', 'ns', 'ht'];
|
|
const SERVICES_USER = ['reg', 'ns', 'ht'];
|
|
|
|
|
|
-const LF = "\n";
|
|
|
|
-
|
|
|
|
const PLACEHOLDER_DOMAIN = 'example'; // From RFC2606: Reserved Top Level DNS Names > 2. TLDs for Testing, & Documentation Examples
|
|
const PLACEHOLDER_DOMAIN = 'example'; // From RFC2606: Reserved Top Level DNS Names > 2. TLDs for Testing, & Documentation Examples
|
|
const PLACEHOLDER_IPV6 = '2001:db8::3'; // From RFC3849: IPv6 Address Prefix Reserved for Documentation
|
|
const PLACEHOLDER_IPV6 = '2001:db8::3'; // From RFC3849: IPv6 Address Prefix Reserved for Documentation
|
|
const PLACEHOLDER_IPV4 = '203.0.113.42'; // From RFC5737: IPv4 Address Blocks Reserved for Documentation
|
|
const PLACEHOLDER_IPV4 = '203.0.113.42'; // From RFC5737: IPv4 Address Blocks Reserved for Documentation
|