loadClassCache(); $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response); exit; } } /** * @todo Identify correct locale (headers?) */ $locale = 'en'; $collection = new ChamiloRequirements(); $translator = new Translator($locale); $majorProblems = $collection->getFailedRequirements(); $minorProblems = $collection->getFailedRecommendations(); $translator->addLoader('yml', new YamlFileLoader()); $translator->addResource('yml', __DIR__ . '/../app/Resources/translations/install.' . $locale . '.yml', $locale); function iterateRequirements(array $collection) { foreach ($collection as $requirement) : ?> isFulfilled()) : ?> isOptional()) : ?> getTestMessage(); ?> isFulfilled()) : ?>
getOutput(); ?>
isFulfilled()) { echo 'OK'; } else { if (!$requirement->isOptional()) { echo ''; } else { echo ''; } $requirement->getHelpHtml(); echo ''; } ?> <?php echo $translator->trans('title'); ?>
  •   1 trans('process.step.check.header'); ?>
  •   2 trans('process.step.configure'); ?>
  •   3 trans('process.step.schema'); ?>
  •   4 trans('process.step.setup'); ?>
  •   5 trans('process.step.final'); ?>

trans('process.step.check.header'); ?>

$collection->getMandatoryRequirements(), 'php' => $collection->getPhpIniRequirements(), 'oro' => $collection->getRequirements(), 'cli' => $collection->getCliRequirements(), 'optional' => $collection->getRecommendations(), ); foreach ($requirements as $type => $requirement) : ?>
trans('process.step.check.table.' . $type); ?> trans('process.step.check.table.check'); ?>