Commit 5a27a93a authored by Benji Fisher's avatar Benji Fisher

23: Move trusted_host_patterns setting to settings.local.php

I think it will be easier to maintain, and to see what local changes I
have made, if the only change I make to default.settings.php is to
un-comment the lines that include settings.local.php.
parent d92f83b8
......@@ -728,7 +728,6 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
* will allow the site to run off of all variants of example.com and
* example.org, with all subdomains included.
*/
$settings['trusted_host_patterns'] = ['\.lndo\.site$'];
/**
* The default list of directories that will be ignored by Drupal's file API.
......@@ -774,7 +773,7 @@ $settings['entity_update_backup'] = TRUE;
*
* Keep this code block at the end of this file to take full effect.
*/
#
# if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
# include $app_root . '/' . $site_path . '/settings.local.php';
# }
if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
include $app_root . '/' . $site_path . '/settings.local.php';
}
<?php
$settings['trusted_host_patterns'] = ['\.lndo\.site$'];
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