Skip to content

Commit

Permalink
[HOTFIX] Array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
acbramley committed Dec 17, 2020
1 parent 1cf332a commit 796e855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fixtures/php/settings.php.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* START SHEPHERD CONFIG
*/
$databases['default']['default'] = array (
$databases['default']['default'] = [
'database' => getenv('DATABASE_NAME') ?: 'drupal',
'username' => getenv('DATABASE_USER') ?: 'user',
'password' => getenv('DATABASE_PASSWORD_FILE') ? file_get_contents(getenv('DATABASE_PASSWORD_FILE')) : 'password',
Expand All @@ -11,7 +11,7 @@ $databases['default']['default'] = array (
'prefix' => getenv('DATABASE_PREFIX') ?: '',
'collation' => getenv('DATABASE_COLLATION') ?: 'utf8mb4_general_ci',
'namespace' => getenv('DATABASE_NAMESPACE') ?: 'Drupal\\Core\\Database\\Driver\\mysql',
);
];
$settings['file_private_path'] = getenv('PRIVATE_DIR') ?: '/shared/private';
$settings['file_temp_path'] = getenv('TMP_DIR') ?: '/shared/tmp';
$settings['php_storage']['twig'] = [
Expand Down

0 comments on commit 796e855

Please sign in to comment.