Commit 3a2d77ad authored by colan's avatar colan Committed by helmo

Issue #2826770 by colan: Version setting "aegir_api" getting zeroed during backup task

parent ecac60fd
......@@ -141,7 +141,7 @@ if (isset($_SERVER['db_name'])) {
$conf['file_directory_path'] = 'sites/<?php print $this->uri ?>/files';
$conf['file_directory_temp'] = 'sites/<?php print $this->uri ?>/private/temp';
$conf['clean_url'] = 1;
$conf['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
$conf['aegir_api'] = <?php print $this->api_version ? $this->api_version : 0 ?>;
$conf['allow_authorize_operations'] = FALSE;
// Nginx tries to cache the admin_menu if we don't do this.
......
......@@ -141,7 +141,7 @@ if (isset($_SERVER['db_name'])) {
$conf['file_temporary_path'] = 'sites/<?php print $this->uri ?>/private/temp';
$drupal_hash_salt = '';
$conf['clean_url'] = 1;
$conf['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
$conf['aegir_api'] = <?php print $this->api_version ? $this->api_version : 0 ?>;
$conf['allow_authorize_operations'] = FALSE;
// Nginx tries to cache the admin_menu if we don't do this.
......
......@@ -139,7 +139,7 @@ if (isset($_SERVER['db_name'])) {
$config['system.file']['path']['temporary'] = 'sites/<?php print $this->uri ?>/private/temp';
$config_directories[CONFIG_SYNC_DIRECTORY] = 'sites/<?php print $this->uri ?>/private/config/sync';
$settings['hash_salt'] = '<?php print $drupal_hash_salt_var ?>';
$settings['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
$settings['aegir_api'] = <?php print $this->api_version ? $this->api_version : 0 ?>;
$settings['allow_authorize_operations'] = FALSE;
/**
......
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