Commit 67e3522a authored by Steven Jones's avatar Steven Jones

Issue #1612252 by mig5, Steven Jones: Fixed 'site_offline()' variable needs to...

Issue #1612252 by mig5, Steven Jones: Fixed 'site_offline()' variable needs to be 'maintenance_mode()' in Drupal 7.
parent 6d68f735
......@@ -133,7 +133,10 @@ print '<?php' ?>
$conf['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
<?php if (!$this->site_enabled) : ?>
// This is for Drupal 6 and below.
$conf['site_offline'] = 1;
// And this is for Drupal 7 and above.
$conf['maintenance_mode'] = 1;
<?php endif ?>
<?php print $extra_config; ?>
......
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