Changeset 783 for trunk/xpressme_integration_kit/wp-content/plugins
- Timestamp:
- May 30, 2011, 11:02:13 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
r757 r783 52 52 $_SERVER['REQUEST_METHOD'] = 'POST'; 53 53 } 54 if (!$force_reserve && defined("XOOPS_MAINFILE_INCLUDED") ) {54 if (!$force_reserve && (defined("XOOPS_MAINFILE_INCLUDED")|| defined( 'XOOPS_BOOTSTRAP')) ) { 55 55 if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'call $notification_handler->triggerEvent'); 56 56 $module_id = get_xpress_modid() ; … … 215 215 { 216 216 global $xpress_config,$xoops_db; 217 if ( ! defined("XOOPS_MAINFILE_INCLUDED")) return;217 if ( ! (defined("XOOPS_MAINFILE_INCLUDED"))|| defined( 'XOOPS_BOOTSTRAP')) return; 218 218 219 219 $notification_handler =& xoops_gethandler( 'notification' ) ;
Note: See TracChangeset
for help on using the changeset viewer.