From fd8c5061097f156da55a9cee8972aa4f13daa7b1 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 14 Nov 2005 18:55:46 -0500
Subject: [PATCH] SMTPS support and minor bugfixes

---
 program/steps/mail/sendmail.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index c5505c9..4d7afb5 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -259,7 +259,7 @@
                $mailto,
                $msg_subject);
 
-  if ($fp = fopen($INSTALL_PATH.'logs/sendmail', 'a'))
+  if ($fp = fopen($CONFIG['log_dir'].'/sendmail', 'a'))
     {
     fwrite($fp, $log_entry);
     fclose($fp);

--
Gitblit v1.9.1