From 2f0ed5ecbef9b060ba3da145e0604ccbe3c90e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Haas?= <juergen.haas@lakedrops.com> Date: Sun, 24 Apr 2022 15:53:15 +0200 Subject: [PATCH] In LAKEDROPS_BUILD_NG context, turn on live mode automatically --- src/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handler.php b/src/Handler.php index d7d88dd..ee46eb0 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -59,7 +59,7 @@ class Handler extends BaseHandler { ], 'domain' => str_replace(['.', '-'], ['\\.', '\\-'], 'www.example.com'), 'aliases' => [], - 'live' => !empty($this->env->receiveGlobal('DRUPAL_LIVE', 'Live mode', '0')), + 'live' => (getenv('LAKEDROPS_BUILD_NG') === 'yes') || !empty($this->env->receiveGlobal('DRUPAL_LIVE', 'Live mode', '0')), ]; } -- GitLab