Index: trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
===================================================================
--- trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php	(revision 779)
+++ trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php	(revision 783)
@@ -52,5 +52,5 @@
 		$_SERVER['REQUEST_METHOD'] = 'POST';
 	}
-	if (!$force_reserve && defined("XOOPS_MAINFILE_INCLUDED") ) {
+	if (!$force_reserve && (defined("XOOPS_MAINFILE_INCLUDED")|| defined( 'XOOPS_BOOTSTRAP')) ) {
 		if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'call $notification_handler->triggerEvent');
 		$module_id = get_xpress_modid() ;
@@ -215,5 +215,5 @@
 {
 	global $xpress_config,$xoops_db;
-	if ( ! defined("XOOPS_MAINFILE_INCLUDED")) return;
+	if ( ! (defined("XOOPS_MAINFILE_INCLUDED"))|| defined( 'XOOPS_BOOTSTRAP')) return;
 	
 	$notification_handler =& xoops_gethandler( 'notification' ) ;
