XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 30, 2011, 11:02:13 AM (13 years ago)
Author:
toemon
Message:

XOOPS 3 (XOOPS Engine)でXOOPS_MAINFILE_INCLUDEDが定義されていない部分に対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php

    r757 r783  
    5252                $_SERVER['REQUEST_METHOD'] = 'POST'; 
    5353        } 
    54         if (!$force_reserve && defined("XOOPS_MAINFILE_INCLUDED") ) { 
     54        if (!$force_reserve && (defined("XOOPS_MAINFILE_INCLUDED")|| defined( 'XOOPS_BOOTSTRAP')) ) { 
    5555                if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'call $notification_handler->triggerEvent'); 
    5656                $module_id = get_xpress_modid() ; 
     
    215215{ 
    216216        global $xpress_config,$xoops_db; 
    217         if ( ! defined("XOOPS_MAINFILE_INCLUDED")) return; 
     217        if ( ! (defined("XOOPS_MAINFILE_INCLUDED"))|| defined( 'XOOPS_BOOTSTRAP')) return; 
    218218         
    219219        $notification_handler =& xoops_gethandler( 'notification' ) ; 
Note: See TracChangeset for help on using the changeset viewer.