Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #58 from apility/develop
Browse files Browse the repository at this point in the history
v1.0.14
  • Loading branch information
thomas-alrek authored Jul 10, 2019
2 parents 30f5ab1 + 1c5c599 commit bf817a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagefinder/domainrouting.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
} else if (isset(NF::$config['domains']['dev_domain']) && getenv('ENV') !== 'master') {
$routing_domain = NF::$config['domains']['dev_domain'];
} else {
$routing_domain = convert_to_safe_string($_SERVER['HTTP_HOST'], 'str');
$routing_domain = explode(':', $_SERVER['HTTP_HOST'])[0];
}

NF::debug('Domain', $routing_domain);
Expand Down

0 comments on commit bf817a8

Please sign in to comment.