Revision 1496
Added by DarkViper about 14 years ago
| class.wbmailer.php | ||
|---|---|---|
| 23 | 23 |
|
| 24 | 24 |
*/ |
| 25 | 25 |
|
| 26 |
// Must include code to stop this file being access directly |
|
| 27 |
if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
|
|
| 28 |
|
|
| 26 |
/* -------------------------------------------------------- */ |
|
| 27 |
// Must include code to stop this file being accessed directly |
|
| 28 |
require_once('globalExceptionHandler.php');
|
|
| 29 |
if(!defined('WB_PATH')) { throw new IllegalFileException(); }
|
|
| 30 |
/* -------------------------------------------------------- */ |
|
| 29 | 31 |
// Include PHPMailer class |
| 30 | 32 |
require_once(WB_PATH."/include/phpmailer/class.phpmailer.php"); |
| 31 | 33 |
|
Also available in: Unified diff
activate globalExceptionHandler in inner core files