Skip to content
Snippets Groups Projects
Commit 2f0ed5ec authored by jurgenhaas's avatar jurgenhaas
Browse files

In LAKEDROPS_BUILD_NG context, turn on live mode automatically

parent 1d72adeb
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ class Handler extends BaseHandler { ...@@ -59,7 +59,7 @@ class Handler extends BaseHandler {
], ],
'domain' => str_replace(['.', '-'], ['\\.', '\\-'], 'www.example.com'), 'domain' => str_replace(['.', '-'], ['\\.', '\\-'], 'www.example.com'),
'aliases' => [], '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')),
]; ];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment