Selaa lähdekoodia

Move memcache to 'extra'.

Frederic G. MARAND 4 vuotta sitten
vanhempi
sitoutus
3950150fe9
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/BuildSettingsCommand.php

+ 2 - 0
src/BuildSettingsCommand.php

@@ -67,12 +67,14 @@ EOT
         $stageParams = $siteParams;
         $stageParams['settings'] = $stageSettings;
         $context = [
+          'extra' => array_diff_key($params, ['instance' => 0, 'sites' => 0]),
           'instance' => $params['instance'],
           'name' => $name,
           'stage' => $stage,
           'site' => $stageParams,
         ];
         $destination = "web/sites/${context['name']}/${context['stage']}.settings.local.php";
+        echo "Building $destination\n";
         [$msg, $error] = $this->render($wrapper, $context, $destination);
         if ($error) {
           $output->writeln(sprintf("Failed rendering %s settings for site %s: %s", $stage, $name, $msg));