Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
bootstrap.php
001 <?php
002
003 /*
004 * This file is part of the Symfony package.
005 *
006 * (c) Fabien Potencier <fabien@symfony.com>
007 *
008 * For the full copyright and license information, please view the LICENSE
009 * file that was distributed with this source code.
010 */
011
012 use Symfony\Polyfill\Intl\Idn as p;
013
014 if (extension_loaded('intl')) {
015 return;
016 }
017
018 if (\PHP_VERSION_ID >= 80000) {
019 return require __DIR__.'/bootstrap80.php';
020 }
021
022 if (!defined('U_IDNA_PROHIBITED_ERROR')) {
023 define('U_IDNA_PROHIBITED_ERROR', 66560);
024 }
025 if (!defined('U_IDNA_ERROR_START')) {
026 define('U_IDNA_ERROR_START', 66560);
027 }
028 if (!defined('U_IDNA_UNASSIGNED_ERROR')) {
029 define('U_IDNA_UNASSIGNED_ERROR', 66561);
030 }
031 if (!defined('U_IDNA_CHECK_BIDI_ERROR')) {
032 define('U_IDNA_CHECK_BIDI_ERROR', 66562);
033 }
034 if (!defined('U_IDNA_STD3_ASCII_RULES_ERROR')) {
035 define('U_IDNA_STD3_ASCII_RULES_ERROR', 66563);
036 }
037 if (!defined('U_IDNA_ACE_PREFIX_ERROR')) {
038 define('U_IDNA_ACE_PREFIX_ERROR', 66564);
039 }
040 if (!defined('U_IDNA_VERIFICATION_ERROR')) {
041 define('U_IDNA_VERIFICATION_ERROR', 66565);
042 }
043 if (!defined('U_IDNA_LABEL_TOO_LONG_ERROR')) {
044 define('U_IDNA_LABEL_TOO_LONG_ERROR', 66566);
045 }
046 if (!defined('U_IDNA_ZERO_LENGTH_LABEL_ERROR')) {
047 define('U_IDNA_ZERO_LENGTH_LABEL_ERROR', 66567);
048 }
049 if (!defined('U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR')) {
050 define('U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR', 66568);
051 }
052 if (!defined('U_IDNA_ERROR_LIMIT')) {
053 define('U_IDNA_ERROR_LIMIT', 66569);
054 }
055 if (!defined('U_STRINGPREP_PROHIBITED_ERROR')) {
056 define('U_STRINGPREP_PROHIBITED_ERROR', 66560);
057 }
058 if (!defined('U_STRINGPREP_UNASSIGNED_ERROR')) {
059 define('U_STRINGPREP_UNASSIGNED_ERROR', 66561);
060 }
061 if (!defined('U_STRINGPREP_CHECK_BIDI_ERROR')) {
062 define('U_STRINGPREP_CHECK_BIDI_ERROR', 66562);
063 }
064 if (!defined('IDNA_DEFAULT')) {
065 define('IDNA_DEFAULT', 0);
066 }
067 if (!defined('IDNA_ALLOW_UNASSIGNED')) {
068 define('IDNA_ALLOW_UNASSIGNED', 1);
069 }
070 if (!defined('IDNA_USE_STD3_RULES')) {
071 define('IDNA_USE_STD3_RULES', 2);
072 }
073 if (!defined('IDNA_CHECK_BIDI')) {
074 define('IDNA_CHECK_BIDI', 4);
075 }
076 if (!defined('IDNA_CHECK_CONTEXTJ')) {
077 define('IDNA_CHECK_CONTEXTJ', 8);
078 }
079 if (!defined('IDNA_NONTRANSITIONAL_TO_ASCII')) {
080 define('IDNA_NONTRANSITIONAL_TO_ASCII', 16);
081 }
082 if (!defined('IDNA_NONTRANSITIONAL_TO_UNICODE')) {
083 define('IDNA_NONTRANSITIONAL_TO_UNICODE', 32);
084 }
085 if (!defined('INTL_IDNA_VARIANT_2003')) {
086 define('INTL_IDNA_VARIANT_2003', 0);
087 }
088 if (!defined('INTL_IDNA_VARIANT_UTS46')) {
089 define('INTL_IDNA_VARIANT_UTS46', 1);
090 }
091 if (!defined('IDNA_ERROR_EMPTY_LABEL')) {
092 define('IDNA_ERROR_EMPTY_LABEL', 1);
093 }
094 if (!defined('IDNA_ERROR_LABEL_TOO_LONG')) {
095 define('IDNA_ERROR_LABEL_TOO_LONG', 2);
096 }
097 if (!defined('IDNA_ERROR_DOMAIN_NAME_TOO_LONG')) {
098 define('IDNA_ERROR_DOMAIN_NAME_TOO_LONG', 4);
099 }
100 if (!defined('IDNA_ERROR_LEADING_HYPHEN')) {
101 define('IDNA_ERROR_LEADING_HYPHEN', 8);
102 }
103 if (!defined('IDNA_ERROR_TRAILING_HYPHEN')) {
104 define('IDNA_ERROR_TRAILING_HYPHEN', 16);
105 }
106 if (!defined('IDNA_ERROR_HYPHEN_3_4')) {
107 define('IDNA_ERROR_HYPHEN_3_4', 32);
108 }
109 if (!defined('IDNA_ERROR_LEADING_COMBINING_MARK')) {
110 define('IDNA_ERROR_LEADING_COMBINING_MARK', 64);
111 }
112 if (!defined('IDNA_ERROR_DISALLOWED')) {
113 define('IDNA_ERROR_DISALLOWED', 128);
114 }
115 if (!defined('IDNA_ERROR_PUNYCODE')) {
116 define('IDNA_ERROR_PUNYCODE', 256);
117 }
118 if (!defined('IDNA_ERROR_LABEL_HAS_DOT')) {
119 define('IDNA_ERROR_LABEL_HAS_DOT', 512);
120 }
121 if (!defined('IDNA_ERROR_INVALID_ACE_LABEL')) {
122 define('IDNA_ERROR_INVALID_ACE_LABEL', 1024);
123 }
124 if (!defined('IDNA_ERROR_BIDI')) {
125 define('IDNA_ERROR_BIDI', 2048);
126 }
127 if (!defined('IDNA_ERROR_CONTEXTJ')) {
128 define('IDNA_ERROR_CONTEXTJ', 4096);
129 }
130
131 if (\PHP_VERSION_ID < 70400) {
132 if (!function_exists('idn_to_ascii')) {
133 function idn_to_ascii($domain, $flags = 0, $variant = \INTL_IDNA_VARIANT_2003, &$idna_info = null) { return p\Idn::idn_to_ascii($domain, $flags, $variant, $idna_info); }
134 }
135 if (!function_exists('idn_to_utf8')) {
136 function idn_to_utf8($domain, $flags = 0, $variant = \INTL_IDNA_VARIANT_2003, &$idna_info = null) { return p\Idn::idn_to_utf8($domain, $flags, $variant, $idna_info); }
137 }
138 } else {
139 if (!function_exists('idn_to_ascii')) {
140 function idn_to_ascii($domain, $flags = 0, $variant = \INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_ascii($domain, $flags, $variant, $idna_info); }
141 }
142 if (!function_exists('idn_to_utf8')) {
143 function idn_to_utf8($domain, $flags = 0, $variant = \INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_utf8($domain, $flags, $variant, $idna_info); }
144 }
145 }
146