Commit 4964d3d3 authored by helmo's avatar helmo
Browse files

Issue #2346903 by helmo: Added Always disable allow_authorize_operations.

parent 54048fd5
......@@ -147,6 +147,8 @@ if (isset($_SERVER['db_name'])) {
$conf['clean_url'] = 1;
$conf['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
$settings['allow_authorize_operations'] = FALSE;
<?php if (!$this->site_enabled) : ?>
// This is for Drupal 6 and below.
$conf['site_offline'] = 1;
......
......@@ -146,6 +146,8 @@ if (isset($_SERVER['db_name'])) {
$settings['clean_url'] = 1;
$settings['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
$settings['allow_authorize_operations'] = FALSE;
<?php if (!$this->site_enabled) : ?>
// This is for Drupal 6 and below.
$settings['site_offline'] = 1;
......
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