Skip to content

Commit

Permalink
readd environment indicator config
Browse files Browse the repository at this point in the history
  • Loading branch information
rpnykanen authored Apr 24, 2024
1 parent 30347d7 commit 1c5faad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,3 +383,8 @@ function drupal_get_env(string|array $variables) : mixed {
$settings['deployment_identifier'] = filemtime(__DIR__ . '/../../../composer.lock');
}

// Environment indicator hack, see the file for more info
$env_indicator_settings = dirname(__FILE__) . '/env.indicator.settings.php';
if (file_exists($env_indicator_settings)) {
require_once $env_indicator_settings;
}

0 comments on commit 1c5faad

Please sign in to comment.