123456789101112131415161718 |
- <?php
- // platform_check.php @generated by Composer
- $issues = array();
- $missingExtensions = array();
- extension_loaded('json') || $missingExtensions[] = 'json';
- extension_loaded('xml') || $missingExtensions[] = 'xml';
- if ($missingExtensions) {
- $issues[] = 'Your Composer dependencies require the following PHP extensions to be installed: ' . implode(', ', $missingExtensions);
- }
- if ($issues) {
- echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues);
- exit(104);
- }
|