Project

General

Profile

« Previous | Next » 

Revision 2064

Added by darkviper almost 11 years ago

! register PHPMailerAutoload now in initialize instead of class.WbMailer.php
  1. a unsecure require() fixed in class PHPMailer::__construct() (notice to Syncro given)

View differences:

class.WbMailer.php
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24 24
*/
25
/* -------------------------------------------------------- */
26
// Must include code to stop this file being accessed directly
27
if(!defined('WB_PATH')) {
28
	require_once(dirname(__FILE__).'/globalExceptionHandler.php');
29
	throw new IllegalFileException();
30
}
31
/* -------------------------------------------------------- */
32
// Include PHPMailer class if needed
33
if (!function_exists('PHPMailerAutoload')) {
34
    require(WbAdaptor::getInstance()->AppPath.'include/phpmailer/PHPMailerAutoload.php');
35
}
36 25

  
37 26
class WbMailer extends PHPMailer
38 27
{

Also available in: Unified diff