Skip to content

Instantly share code, notes, and snippets.

@cntlscrut
Created July 20, 2020 15:03
Show Gist options
  • Save cntlscrut/fe65da6714f5828e9509ea1617cbde90 to your computer and use it in GitHub Desktop.
Save cntlscrut/fe65da6714f5828e9509ea1617cbde90 to your computer and use it in GitHub Desktop.
settings file connection for ln 777
line 777 changed to the below:
require('/var/www/site-php/beagov/beagov-settings.inc');
altogether should look like:
if (file_exists('/var/www/site-php')) {
global $conf, $databases;
$conf['acquia_hosting_settings_autoconnect'] = FALSE;
// EDIT next line to proper path to include file.
require('/var/www/site-php/beagov/beagov-settings.inc');
$databases['default']['default']['init_commands'] = array(
'isolation' => "SET SESSION tx_isolation='READ-COMMITTED'",
);
acquia_hosting_db_choose_active();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment