Browse Source

Move memcache to 'extra'.

Frederic G. MARAND 4 years ago
parent
commit
3950150fe9
1 changed files with 2 additions and 0 deletions
  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));