From f5b51837b6b106fa87c572738909c126d0eaa900 Mon Sep 17 00:00:00 2001 From: Marty Date: Mon, 20 Apr 2015 15:59:31 +1000 Subject: [PATCH] Bug fix for www. domains and aliases. --- server/tempest/Tempest/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/tempest/Tempest/Config.php b/server/tempest/Tempest/Config.php index 77a72a2..df5866c 100644 --- a/server/tempest/Tempest/Config.php +++ b/server/tempest/Tempest/Config.php @@ -28,10 +28,10 @@ public function __construct($name) { $this->data = $data['*']; - if (array_key_exists(HOST, $data)) + if (array_key_exists($compareHost, $data)) { // Consume host-specific configuration and overwrite where necessary. - $this->data = array_replace_recursive($this->data, $data[HOST]); + $this->data = array_replace_recursive($this->data, $data[$compareHost]); } } else