ClassLoader.php
5 years ago
InstalledVersions.php
5 years ago
LICENSE
7 years ago
autoload_classmap.php
5 years ago
autoload_namespaces.php
7 years ago
autoload_psr4.php
5 years ago
autoload_real.php
5 years ago
autoload_static.php
5 years ago
installed.json
5 years ago
installed.php
5 years ago
platform_check.php
5 years ago
platform_check.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | // platform_check.php @generated by Composer |
| 4 | |
| 5 | $issues = array(); |
| 6 | |
| 7 | if (!(PHP_VERSION_ID >= 50400)) { |
| 8 | $issues[] = 'Your Composer dependencies require a PHP version ">= 5.4.0". You are running ' . PHP_VERSION . '.'; |
| 9 | } |
| 10 | |
| 11 | $missingExtensions = array(); |
| 12 | extension_loaded('curl') || $missingExtensions[] = 'curl'; |
| 13 | extension_loaded('json') || $missingExtensions[] = 'json'; |
| 14 | extension_loaded('mbstring') || $missingExtensions[] = 'mbstring'; |
| 15 | |
| 16 | if ($missingExtensions) { |
| 17 | $issues[] = 'Your Composer dependencies require the following PHP extensions to be installed: ' . implode(', ', $missingExtensions); |
| 18 | } |
| 19 | |
| 20 | if ($issues) { |
| 21 | echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues); |
| 22 | exit(104); |
| 23 | } |
| 24 |