mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
use getBaseUrl()
This commit is contained in:
parent
c3ab464890
commit
5fdae931b1
|
@ -42,7 +42,7 @@ class SeedDMS_EmailUtils {
|
||||||
|
|
||||||
return(str_replace(
|
return(str_replace(
|
||||||
array('###SITENAME###', '###HTTP_ROOT###', '###URL_PREFIX###'),
|
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));
|
$text));
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user