Skip to content

Commit

Permalink
ACMS-3508: PR feedback work to update the logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
apathak18 committed Jan 31, 2024
1 parent c12a94c commit 1f3192d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions settings/config.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,21 @@

// phpcs:ignore
// Config sync settings.
// if $settings['config_sync_directory'] isn't set by user the DRS
// set to the ../config/$site_name and if $drs_override_config_directories
// is TRUE then it sets to ../config/default.
$settings['config_sync_directory'] = !$drs_override_config_directories ?
"../config/$site_name" : "../config/default";
($settings['config_sync_directory'] ?: "../config/$site_name")
: "../config/default";

// Site Studio sync settings.
// if $settings['site_studio_sync'] isn't set by user the DRS
// set to the ../sitestudio/$site_name and if
// $drs_override_site_studio_sync_directories is TRUE
// then it sets to ../sitestudio/default.
$settings['site_studio_sync'] = !$drs_override_site_studio_sync_directories ?
"../sitestudio/$site_name" : "../sitestudio/default";
($settings['site_studio_sync'] ?: "../sitestudio/$site_name")
: "../sitestudio/default";

$split_filename_prefix = 'config_split.config_split';

Expand Down

0 comments on commit 1f3192d

Please sign in to comment.