You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
530 B
PHTML

<?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) {
trigger_error(
'Composer detected issues in your platform: ' . implode(', ', $issues),
E_USER_ERROR
);
}