govCMS / scaffold-tooling

6 stars 17 forks source link

$_SERVER['HTTP_HOST'] can be undefined, add defense #330

Closed acbramley closed 2 months ago

acbramley commented 2 months ago

In some scenarios, $_SERVER['HTTP_HOST'] is undefined. E.g during tests using a driver that does not allow HTTP requests. We should add defense to all.settings.php for this.