For a given list of domains, determine the best match based on the current HTTP_HOST If there is an exact match, it is used If there is an ends-with match, it is used Failing all that, the first domain in the list is used
This is the code documentation for the SproutCMS project
Search documentation |
function determineBestDomain()For a given list of domains, determine the best match based on the current HTTP_HOST If there is an exact match, it is used If there is an ends-with match, it is used Failing all that, the first domain in the list is used
Usageunknown Subsites::determineBestDomain ( mixed $domains ); Arguments
|
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |