mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
use getBaseUrl()
This commit is contained in:
parent
c3ab464890
commit
5fdae931b1
|
@ -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));
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user