Commit 1382b87e authored by omega8cc's avatar omega8cc Committed by helmo

Update D8 config files management.

parent 6b2df104
......@@ -135,10 +135,12 @@ if (isset($_SERVER['db_name'])) {
$drupal_hash_salt = '';
<?php endif; ?>
<?php if (isset($config_directories_active_var)): ?>
$config_directories['active'] = 'private/config/active';
$config_directories['active']['path'] = 'sites/<?php print $this->uri ?>/private/config/active';
$config_directories['active']['absolute'] = TRUE;
<?php endif; ?>
<?php if (isset($config_directories_staging_var)): ?>
$config_directories['staging'] = 'private/config/staging';
$config_directories['staging']['path'] = 'sites/<?php print $this->uri ?>/private/config/staging';
$config_directories['staging']['absolute'] = TRUE;
<?php endif; ?>
$conf['clean_url'] = 1;
$conf['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
......
......@@ -238,17 +238,14 @@ function _provision_drupal_create_directories($url = NULL, $profile = NULL) {
$chgrp["sites/$url/files/styles"] = d('@server_master')->web_group;
// d8 support
$mkdir["sites/$url/files/private"] = 02770;
$chgrp["sites/$url/files/private"] = d('@server_master')->web_group;
$mkdir["sites/$url/private/config"] = 02770;
$chgrp["sites/$url/private/config"] = d('@server_master')->web_group;
$mkdir["sites/$url/files/private/config"] = 02770;
$chgrp["sites/$url/files/private/config"] = d('@server_master')->web_group;
$mkdir["sites/$url/private/config/active"] = 02770;
$chgrp["sites/$url/private/config/active"] = d('@server_master')->web_group;
$mkdir["sites/$url/files/private/config/active"] = 02770;
$chgrp["sites/$url/files/private/config/active"] = d('@server_master')->web_group;
$mkdir["sites/$url/files/private/config/staging"] = 02770;
$chgrp["sites/$url/files/private/config/staging"] = d('@server_master')->web_group;
$mkdir["sites/$url/private/config/staging"] = 02770;
$chgrp["sites/$url/private/config/staging"] = d('@server_master')->web_group;
}
// These paths should not have recursive operations performed on them.
......@@ -268,9 +265,9 @@ function _provision_drupal_create_directories($url = NULL, $profile = NULL) {
"sites/$url/private/temp",
"sites/$url/files/styles",
"sites/$url/files/private",
"sites/$url/files/private/config",
"sites/$url/files/private/config/active",
"sites/$url/files/private/config/staging"
"sites/$url/private/config",
"sites/$url/private/config/active",
"sites/$url/private/config/staging"
);
// Allow other commands to add or alter the directories to be created.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment