File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 85
85
// phpcs:ignore
86
86
$ site_name = EnvironmentDetector::getSiteName ($ site_path );
87
87
88
- // Acquia platform settings (and local / CI) includes a require line
89
- // that opens database connection, hence the mysql57 settings
90
- // file should be added before platform require line.
91
- // @see: https://www.drupal.org/project/mysql57
92
- // @todo: Remove this line once acquia platform start supporting mysql 8.0
93
- if (!EnvironmentDetector::isAhIdeEnv ()) {
94
- $ settings_files [] = __DIR__ . "/mysql57.settings.php " ;
95
- }
96
-
97
- // Acquia Cloud settings
88
+ // Acquia Cloud settings.
98
89
if (EnvironmentDetector::isAhEnv ()) {
99
90
try {
91
+ // Acquia platform settings includes a require line
92
+ // that opens database connection, hence the mysql57 settings
93
+ // file should be added before platform require line.
94
+ // @see: https://www.drupal.org/project/mysql57
95
+ // @todo: Remove this line once acquia platform start supporting mysql 8.0
96
+ if (!EnvironmentDetector::isAhIdeEnv ()) {
97
+ $ settings_files [] = __DIR__ . "/mysql57.settings.php " ;
98
+ }
100
99
if (!EnvironmentDetector::isAcsfEnv ()) {
101
100
$ settings_files [] = FilePaths::ahSettingsFile (EnvironmentDetector::getAhGroup (), $ site_name );
102
101
}
You can’t perform that action at this time.
0 commit comments