mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 00:15:34 +00:00
pass settings to EmailNotify service, closes #417
This commit is contained in:
parent
268f1ef0aa
commit
39d7ed97b1
|
@ -68,7 +68,7 @@ if (isset($_COOKIE["mydms_session"])) {
|
|||
}
|
||||
|
||||
if($settings->_enableEmail) {
|
||||
$notifier->addService(new SeedDMS_EmailNotify($dms));
|
||||
$notifier->addService(new SeedDMS_EmailNotify($dms, $settings->_smtpSendFrom, $settings->_smtpServer, $settings->_smtpPort, $settings->_smtpUser, $settings->_smtpPassword));
|
||||
}
|
||||
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user