ClassLoader.php
2 years ago
InstalledVersions.php
5 months ago
autoload_classmap.php
5 days ago
autoload_files.php
8 months ago
autoload_namespaces.php
4 years ago
autoload_psr4.php
4 months ago
autoload_real.php
5 days ago
autoload_static.php
5 days ago
index.php
3 years ago
installed.json
2 months ago
installed.php
3 days ago
jetpack_autoload_classmap.php
5 days ago
jetpack_autoload_filemap.php
8 months ago
platform_check.php
5 months ago
platform_check.php
23 lines
| 1 | <?php |
| 2 | if (!defined('ABSPATH')) exit; |
| 3 | // platform_check.php @generated by Composer |
| 4 | $issues = array(); |
| 5 | if (!(PHP_VERSION_ID >= 70400)) { |
| 6 | $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; |
| 7 | } |
| 8 | if ($issues) { |
| 9 | if (!headers_sent()) { |
| 10 | header('HTTP/1.1 500 Internal Server Error'); |
| 11 | } |
| 12 | if (!ini_get('display_errors')) { |
| 13 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
| 14 | fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); |
| 15 | } elseif (!headers_sent()) { |
| 16 | echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; |
| 17 | } |
| 18 | } |
| 19 | throw new \RuntimeException( |
| 20 | 'Composer detected issues in your platform: ' . implode(' ', $issues) |
| 21 | ); |
| 22 | } |
| 23 |