chamilo-check.php 402 B

12345678910111213
  1. <?php
  2. require_once dirname(__FILE__).'/ChamiloRequirements.php';
  3. require_once dirname(__FILE__).'/../vendor/autoload.php';
  4. $requirements = new ChamiloRequirements();
  5. $requirementNeeded = true;
  6. foreach ($requirements->getChamiloRequirements() as $requirement) {
  7. /** @var Requirement $requirement */
  8. if (!$requirement->isFulfilled()) {
  9. echo $requirement->getTestMessage()."\n";
  10. }
  11. }