Fix most links pointing to default domain even when unregistered domain action is set to "display"

This commit is contained in:
Kijin Sung 2025-09-05 18:03:54 +09:00
parent cafddbfc67
commit 4e6591af13
2 changed files with 6 additions and 2 deletions

View file

@ -242,7 +242,7 @@ class Context
else
{
$site_module_info = new stdClass;
$site_module_info->domain = $_SERVER['HTTP_HOST'];
$site_module_info->domain = Rhymix\Framework\URL::getCurrentDomain();
$site_module_info->security = RX_SSL ? 'always' : 'none';
$site_module_info->settings = new stdClass;
$site_module_info->is_default_replaced = true;