Issue #2419225 by mikeker: settings.local.php trusted_host_patterns are ignored due to incorrect location of the include statement