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
Tags v3.0.8
No related merge requests found
......@@ -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')),
];
}
......
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