Commit 71ce951b authored by Steven Jones's avatar Steven Jones

Fix the cron key insertion.

parent 2c2a860b
......@@ -134,6 +134,7 @@ class provisionConfig_drupal_settings extends provisionConfig {
function process() {
if (drush_drupal_major_version() >= 7) {
$this->data['db_type'] = ($this->data['db_type'] == 'mysqli') ? 'mysql' : $this->data['db_type'];
$this->data['cron_key'] = $this->cron_key;
}
$this->version = provision_version();
$this->api_version = provision_api_version();
......
......@@ -123,8 +123,8 @@
$conf['file_directory_temp'] = 'sites/<?php print $this->uri ?>/files/tmp';
$conf['clean_url'] = 1;
$conf['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
<?php if (!empty($this->cron_key)) : ?>
$conf['cron_key'] = <?php print $this->cron_key; ?>;
<?php if (!empty($cron_key)) : ?>
$conf['cron_key'] = '<?php print $cron_key; ?>';
<?php endif ?>
<?php if (!$this->site_enabled) : ?>
......
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