diff options
author | MaZderMind | 2015-12-23 14:12:10 +0100 |
---|---|---|
committer | MaZderMind | 2015-12-23 14:12:10 +0100 |
commit | 0ed383670ed0d18b343ab578eca90084e07d1dfc (patch) | |
tree | b61f2b92298a48fc3833fd3963285be0c2543e21 /model | |
parent | ec3a6d5c763ecc8c46f266659d790c4b57233074 (diff) |
use SERVER_NAME everywhere
Diffstat (limited to 'model')
-rw-r--r-- | model/Conference.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Conference.php b/model/Conference.php index 8a8291b..aa30b40 100644 --- a/model/Conference.php +++ b/model/Conference.php @@ -7,7 +7,7 @@ class Conference extends ModelBase } public function isPreviewEnabled() { - return $this->has('PREVIEW_DOMAIN') && ($this->get('PREVIEW_DOMAIN') == $_SERVER['HTTP_HOST']); + return $this->has('PREVIEW_DOMAIN') && ($this->get('PREVIEW_DOMAIN') == $_SERVER['SERVER_NAME']); } public function isClosed() { |