\CRM_Utils_Array::value('HTTP_HOST', $_SERVER, ''),
// e.g. port-based vhosts
\CRM_Utils_Array::value('SERVER_PORT', $_SERVER, ''),
+ // e.g. unit testing
+ defined('CIVICRM_TEST') ? 1 : 0,
// Depending on deployment arch, these signals *could* be redundant, but who cares?
]));
}