Index: trunk/wp-content/plugins/xpressme/include/notify_functions.php
===================================================================
--- trunk/wp-content/plugins/xpressme/include/notify_functions.php	(revision 95)
+++ trunk/wp-content/plugins/xpressme/include/notify_functions.php	(revision 96)
@@ -48,7 +48,6 @@
 		$_SERVER['REQUEST_METHOD'] = 'POST';
 	}
-	
-	include_once $xoops_config->xoops_mainfile_path;	// load XOOPS System
-	include_once $xoops_config->xoops_root_path . '/include/notification_functions.php' ;
+//	set_error_handler("xpress_error_handler");
+	require $xoops_config->xoops_mainfile_path;	// load XOOPS System
 	$module_id = get_xpress_modid() ;
 	$notification_handler =& xoops_gethandler( 'notification' ) ;
@@ -58,7 +57,4 @@
 function do_CommentWaiting($commentID, $comment_post_ID)
 {
-//	global $xoops_config;
-//	require_once $xoops_config->xoops_mainfile_path;
-//	xoops_mainfile_path;
 //	require_once XOOPS_ROOT_PATH . '/include/notification_functions.php' ;
 //	$notification_handler =& xoops_gethandler( 'notification' ) ;
@@ -120,5 +116,4 @@
 {
 	global $xoops_config, $xoops_db;
-	xpress_debug();
 	
 
