mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
set missing parameter [url] in email notification
This commit is contained in:
parent
15bb6177d8
commit
bd85c0c25a
|
@ -448,6 +448,7 @@ foreach ($pGrpApp as $p) {
|
|||
$params['version'] = $content->_version;
|
||||
$params['comment'] = $content->getComment();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
$params['http_root'] = $settings->_httpRoot;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user