Skip to content

use http host instead of server name#29

Open
kbhagchandani wants to merge 1 commit intoclickalicious:masterfrom
kbhagchandani:patch-1
Open

use http host instead of server name#29
kbhagchandani wants to merge 1 commit intoclickalicious:masterfrom
kbhagchandani:patch-1

Conversation

@kbhagchandani
Copy link
Copy Markdown

$_SERVER['HTTP_HOST'] is more useful instead of $_SERVER['SERVER_NAME'] as most of the installation does not configure server_name property and uses the default configuration.

*$_SERVER['HTTP_HOST']* is more useful instead of *$_SERVER['SERVER_NAME']* as most of the installation does not configure server_name property and uses the default configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant