From cb98dc8ea74bde09b339d3c00ae91ed3a990ec4e Mon Sep 17 00:00:00 2001 From: steinm Date: Wed, 17 Nov 2010 07:41:35 +0000 Subject: [PATCH] - create notifier and set sender --- inc/inc.Authentication.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/inc.Authentication.php b/inc/inc.Authentication.php index 602c3cc68..c216c8ea1 100644 --- a/inc/inc.Authentication.php +++ b/inc/inc.Authentication.php @@ -27,7 +27,8 @@ if (!isset($_COOKIE["mydms_session"])) exit; } -include_once("inc.Utils.php"); +require_once("inc.Utils.php"); +require_once("inc.ClassEmail.php"); $dms_session = sanitizeString($_COOKIE["mydms_session"]); @@ -57,6 +58,8 @@ if (!is_object($user)) { } $dms->setUser($user); +$notifier = new LetoDMS_Email(); +$notifier->setSender($user); $theme = $resArr["theme"]; include $settings->_rootDir . "languages/" . $resArr["language"] . "/lang.inc";