Changeset 343 for trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
- Timestamp:
- Jul 23, 2009, 12:55:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
r132 r343 49 49 } 50 50 // set_error_handler("xpress_error_handler"); 51 require_once $xoops_config->xoops_mainfile_path; // load XOOPS System 52 $module_id = get_xpress_modid() ; 53 $notification_handler =& xoops_gethandler( 'notification' ) ; 54 $notification_handler->triggerEvent($category, $item_id, $event, $extra_tags, $user_list, $module_id, $omit_user_id); 51 if ($xoops_config->is_impress != true){ // impress cms is error 52 if ( !defined("XOOPS_MAINFILE_INCLUDED")) { 53 require_once $xoops_config->xoops_mainfile_path; // load XOOPS System 54 } 55 } 56 if ( defined("XOOPS_MAINFILE_INCLUDED")) { 57 $module_id = get_xpress_modid() ; 58 $notification_handler =& xoops_gethandler( 'notification' ) ; 59 $notification_handler->triggerEvent($category, $item_id, $event, $extra_tags, $user_list, $module_id, $omit_user_id); 60 } 55 61 } 56 62
Note: See TracChangeset
for help on using the changeset viewer.