Commit 3ba4802c authored by memtkmcc's avatar memtkmcc

Issue #3149998: Auto-detect Drupal 8 and 9 codebase structure (Apache)

parent 23863777
......@@ -169,6 +169,7 @@ if (isset($_SERVER['db_name'])) {
}
# Additional platform wide configuration settings.
<?php $this->platform->root = provision_auto_fix_platform_root($this->platform->root); ?>
if (is_readable('<?php print $this->platform->root ?>/sites/all/platform.settings.php')) {
include_once('<?php print $this->platform->root ?>/sites/all/platform.settings.php');
}
......
<?php $this->root = provision_auto_fix_platform_root($this->root); ?>
<?php if ($this->ssl_enabled && $this->ssl_key && $this->ssl_cert_ok) : ?>
......
<?php $this->root = provision_auto_fix_platform_root($this->root); ?>
<?php if ($this->ssl_enabled && $this->ssl_key) : ?>
<VirtualHost <?php print "{$ip_address}:{$http_ssl_port}"; ?>>
......
<?php $this->root = provision_auto_fix_platform_root($this->root); ?>
<Directory <?php print $this->root; ?>>
Order allow,deny
Allow from all
......
<?php $this->root = provision_auto_fix_platform_root($this->root); ?>
<?php
$aegir_root = drush_get_option('aegir_root');
if (!$aegir_root && $server->aegir_root) {
......
<?php $this->root = provision_auto_fix_platform_root($this->root); ?>
<VirtualHost *:<?php print $http_port; ?>>
<?php if ($this->site_mail) : ?>
ServerAdmin <?php print $this->site_mail; ?>
......
<?php $this->root = provision_auto_fix_platform_root($this->root); ?>
<VirtualHost *:<?php print $http_port; ?>>
<?php if ($this->site_mail) : ?>
ServerAdmin <?php print $this->site_mail; ?>
......
<?php $this->root = provision_auto_fix_platform_root($this->root); ?>
<?php if ($this->ssl_enabled && $this->ssl_key) : ?>
......
<?php $this->root = provision_auto_fix_platform_root($this->root); ?>
<?php
if ($this->redirection) {
$aegir_root = d('@server_master')->aegir_root;
......
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