addLoader("php", new Symfony\Component\Translation\Loader\PhpFileLoader()); $trans->addResource('php', __DIR__.'/I18n/'.$_SESSION['install']['lang'].'.php', $_SESSION['install']['lang']); if (!isset($context)) { $context = 'install'; } // Check if we store is already configured and if we have to switch on an update process if ($context == "install" && $step == 1) { try { $checkPermission = new \Thelia\Install\CheckPermission(true, $trans); $isValid = $checkPermission->exec(); $validationMessage = $checkPermission->getValidationMessages(); } catch (\Thelia\Install\Exception\AlreadyInstallException $ex) { $update = new \Thelia\Install\Update(false); if (!$update->isLatestVersion()) { $updateLocation = str_replace('/index.php', '', $_SERVER["REQUEST_URI"]) . '/update.php'; header("Location: " . $updateLocation); die(); } } } ?> <?php if ($context == "install") { echo $trans->trans('Installation'); } else { echo $trans->trans('Update'); } ?>
trans('Version') . " " . \Thelia\Core\Thelia::THELIA_VERSION ; ?>

trans('Thelia installation wizard'); ?>

  • 1trans('Welcome'); ?>
  • 2trans('Checking permissions'); ?>
  • 3trans('Database connection'); ?>
  • 4trans('Database selection'); ?>
  • 5trans('General information'); ?>
  • 6trans('Thanks'); ?>

trans('Thelia installation wizard'); ?>

  • 1trans('Welcome'); ?>
  • 2trans('Update'); ?>