Revision 1499
Added by DarkViper about 13 years ago
class.wbmailer.php | ||
---|---|---|
22 | 22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 | 23 |
|
24 | 24 |
*/ |
25 |
|
|
26 | 25 |
/* -------------------------------------------------------- */ |
27 | 26 |
// Must include code to stop this file being accessed directly |
28 |
require_once('globalExceptionHandler.php'); |
|
29 |
if(!defined('WB_PATH')) { throw new IllegalFileException(); } |
|
27 |
if(!defined('WB_PATH')) { |
|
28 |
require_once(dirname(__FILE__).'/globalExceptionHandler.php'); |
|
29 |
throw new IllegalFileException(); |
|
30 |
} |
|
30 | 31 |
/* -------------------------------------------------------- */ |
31 | 32 |
// Include PHPMailer class |
32 | 33 |
require_once(WB_PATH."/include/phpmailer/class.phpmailer.php"); |
Also available in: Unified diff
little fix in calling globalExceptionHandler from inner core files