Skip to content

Commit e4e682a

Browse files
committed
Updated variable name in container settings.
1 parent 2697733 commit e4e682a

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.vortex/installer/tests/Fixtures/handler_process/_baseline/web/sites/default/includes/providers/settings.container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
$vortex_localdev_url = getenv('VORTEX_LOCALDEV_URL');
1616
if (!empty($vortex_localdev_url)) {
1717
// Local development URL.
18-
$patterns = str_replace(['.', 'https://', 'http://', ','], [
18+
$container_patterns = str_replace(['.', 'https://', 'http://', ','], [
1919
'\.', '', '', '|',
2020
], $vortex_localdev_url);
21-
$settings['trusted_host_patterns'][] = '^' . $patterns . '$';
21+
$settings['trusted_host_patterns'][] = '^' . $container_patterns . '$';
2222

2323
// URL for internal container access (e.g., via drush, in tests etc.).
2424
$settings['trusted_host_patterns'][] = '^nginx$';

.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/docroot/sites/default/includes/providers/settings.container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
$vortex_localdev_url = getenv('VORTEX_LOCALDEV_URL');
1616
if (!empty($vortex_localdev_url)) {
1717
// Local development URL.
18-
$patterns = str_replace(['.', 'https://', 'http://', ','], [
18+
$container_patterns = str_replace(['.', 'https://', 'http://', ','], [
1919
'\.', '', '', '|',
2020
], $vortex_localdev_url);
21-
$settings['trusted_host_patterns'][] = '^' . $patterns . '$';
21+
$settings['trusted_host_patterns'][] = '^' . $container_patterns . '$';
2222

2323
// URL for internal container access (e.g., via drush, in tests etc.).
2424
$settings['trusted_host_patterns'][] = '^nginx$';

.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/docroot/sites/default/includes/providers/settings.container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
$vortex_localdev_url = getenv('VORTEX_LOCALDEV_URL');
1616
if (!empty($vortex_localdev_url)) {
1717
// Local development URL.
18-
$patterns = str_replace(['.', 'https://', 'http://', ','], [
18+
$container_patterns = str_replace(['.', 'https://', 'http://', ','], [
1919
'\.', '', '', '|',
2020
], $vortex_localdev_url);
21-
$settings['trusted_host_patterns'][] = '^' . $patterns . '$';
21+
$settings['trusted_host_patterns'][] = '^' . $container_patterns . '$';
2222

2323
// URL for internal container access (e.g., via drush, in tests etc.).
2424
$settings['trusted_host_patterns'][] = '^nginx$';

web/sites/default/includes/providers/settings.container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
$vortex_localdev_url = getenv('VORTEX_LOCALDEV_URL');
1616
if (!empty($vortex_localdev_url)) {
1717
// Local development URL.
18-
$patterns = str_replace(['.', 'https://', 'http://', ','], [
18+
$container_patterns = str_replace(['.', 'https://', 'http://', ','], [
1919
'\.', '', '', '|',
2020
], $vortex_localdev_url);
21-
$settings['trusted_host_patterns'][] = '^' . $patterns . '$';
21+
$settings['trusted_host_patterns'][] = '^' . $container_patterns . '$';
2222

2323
// URL for internal container access (e.g., via drush, in tests etc.).
2424
$settings['trusted_host_patterns'][] = '^nginx$';

0 commit comments

Comments
 (0)