Commit 2c2a860b authored by Steven Jones's avatar Steven Jones

Initial effort to the cron_key into the backend.

parent b2c7578d
......@@ -123,6 +123,9 @@
$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 endif ?>
<?php if (!$this->site_enabled) : ?>
$conf['site_offline'] = 1;
......
......@@ -35,6 +35,7 @@ class provisionContext_site extends provisionContext {
$this->setProperty('client_name');
$this->setProperty('aliases', array(), TRUE);
$this->setProperty('redirection', FALSE);
$this->setProperty('cron_key', '');
// this can potentially be handled by a Drupal sub class
$this->setProperty('profile', 'default');
......
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