From: <vb...@us...> - 2003-02-28 15:55:49
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1:/tmp/cvs-serv6149/core Modified Files: email_api.php Log Message: Fix 3021: Error when using phpMailer M core/email_api.php - (email_send): Include class.phpmailer.php using full path. Index: email_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/email_api.php,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- email_api.php 22 Feb 2003 12:02:00 -0000 1.52 +++ email_api.php 28 Feb 2003 15:55:12 -0000 1.53 @@ -593,7 +593,7 @@ # Visit http://phpmailer.sourceforge.net # if you have problems with phpMailer - include_once('class.phpmailer.php'); + include_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'class.phpmailer.php'); $mail = new phpmailer; # Select the method to send mail |