<?php if (!defined('ABSPATH')) exit; $issues = array(); if (!(PHP_VERSION_ID >= 70100)) { $issues[] = 'Your Composer dependencies require a PHP version ">= 7.1.0". You are running ' . PHP_VERSION . '.'; } if ($issues) { if (!headers_sent()) { header('HTTP/1.1 500 Internal Server Error'); } if (!ini_get('display_errors')) { if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); } elseif (!headers_sent()) { 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; } } trigger_error( 'Composer detected issues in your platform: ' . implode(' ', $issues), E_USER_ERROR ); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ClassLoader.php | File | 6.58 KB | 0644 |
|
InstalledVersions.php | File | 5.46 KB | 0644 |
|
autoload_classmap.php | File | 210.94 KB | 0644 |
|
autoload_files.php | File | 1.05 KB | 0644 |
|
autoload_namespaces.php | File | 128 B | 0644 |
|
autoload_psr4.php | File | 425 B | 0644 |
|
autoload_real.php | File | 1.97 KB | 0644 |
|
autoload_static.php | File | 226.6 KB | 0644 |
|
index.php | File | 0 B | 0644 |
|
installed.json | File | 5.61 KB | 0644 |
|
installed.php | File | 1.39 KB | 0644 |
|
platform_check.php | File | 808 B | 0644 |
|