Skip to content

Commit

Permalink
update settings file for 8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mwunderl committed Apr 30, 2018
1 parent 7d8536e commit d1b6a26
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions beanstalk-settings.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
<?php

$databases = array();
// @codingStandardsIgnoreFile

$databases = array();

$config_directories = array();

$settings['hash_salt'] = $_SERVER['HASH_SALT'];

$settings['update_free_access'] = FALSE;

$settings['container_yamls'][] = __DIR__ . '/services.yml';
if ($settings['hash_salt']) {
$prefix = 'drupal.' . hash('sha256', 'drupal.' . $settings['hash_salt']);
$apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $class_loader);
unset($prefix);
$class_loader->unregister();
$apc_loader->register();
$class_loader = $apc_loader;
}

$settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';

$settings['file_scan_ignore_directories'] = [
'node_modules',
'bower_components',
];

$settings['entity_update_batch_size'] = 50;

$databases['default']['default'] = array (
'database' => $_SERVER['RDS_DB_NAME'],
'username' => $_SERVER['RDS_USERNAME'],
Expand Down

0 comments on commit d1b6a26

Please sign in to comment.