use getBaseUrl()

This commit is contained in:
Uwe Steinmann 2019-11-28 10:22:47 +01:00
parent c3ab464890
commit 5fdae931b1

View File

@ -42,7 +42,7 @@ class SeedDMS_EmailUtils {
return(str_replace(
array('###SITENAME###', '###HTTP_ROOT###', '###URL_PREFIX###'),
array($settings->_siteName, $settings->_httpRoot, "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot),
array($settings->_siteName, $settings->_httpRoot, getBaseUrl().$settings->_httpRoot),
$text));
} /* }}} */