Commit 7b1179fe authored by omega8cc's avatar omega8cc

Remove Drupal 8 specific stuff from D7/D6 template.

parent ad095cba
......@@ -136,7 +136,6 @@ if (isset($_SERVER['db_name'])) {
*/
umask(0002);
global $conf;
$conf['install_profile'] = '<?php print $this->profile ?>';
$conf['<?php print $file_directory_path_var ?>'] = 'sites/<?php print $this->uri ?>/files';
......@@ -146,24 +145,18 @@ if (isset($_SERVER['db_name'])) {
<?php endif; ?>
<?php if (isset($drupal_hash_salt_var)): ?>
$drupal_hash_salt = '';
<?php endif; ?>
<?php if (isset($config_directories_active_var)): ?>
$config_directories['active'] = 'sites/<?php print $this->uri ?>/private/config/active';
<?php endif; ?>
<?php if (isset($config_directories_staging_var)): ?>
$config_directories['staging'] = 'sites/<?php print $this->uri ?>/private/config/staging';
<?php endif; ?>
$conf['clean_url'] = 1;
$conf['aegir_api'] = <?php print !$this->backup_in_progress ? $this->api_version : 0 ?>;
$settings['allow_authorize_operations'] = FALSE;
$conf['allow_authorize_operations'] = FALSE;
<?php if (!$this->site_enabled) : ?>
// This is for Drupal 6.
$conf['site_offline'] = 1;
// And this is for Drupal 7.
$conf['maintenance_mode'] = 1;
<?php endif ?>
<?php if (isset($drupal_hash_salt_var)): ?>
$conf['maintenance_mode'] = 1;
<?php else: ?>
$conf['site_offline'] = 1;
<?php endif; ?>
<?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