XPressME Integration Kit

Trac

Changeset 783 for trunk


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

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

Location:
trunk/xpressme_integration_kit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/class/langInfo_class.php

    r781 r783  
    99 */ 
    1010 
    11 if (defined( 'XOOPS_MAINFILE_INCLUDED')) : 
     11if (defined( 'XOOPS_MAINFILE_INCLUDED')|| defined( 'XOOPS_BOOTSTRAP')) : 
    1212class langInfoClass { 
    1313        var $xoops_Lang; 
  • trunk/xpressme_integration_kit/class/modInfo_class.php

    r780 r783  
    99 */ 
    1010 
    11 if (defined( 'XOOPS_MAINFILE_INCLUDED')) : 
     11if (defined( 'XOOPS_MAINFILE_INCLUDED')|| defined( 'XOOPS_BOOTSTRAP')) : 
    1212 
    1313class modInfoClass { 
  • trunk/xpressme_integration_kit/class/userInfo_class.php

    r782 r783  
    99 */ 
    1010 
    11 if (defined( 'XOOPS_MAINFILE_INCLUDED')) : 
     11if (defined( 'XOOPS_MAINFILE_INCLUDED')|| defined( 'XOOPS_BOOTSTRAP')) : 
    1212class userInfoClass { 
    1313        var $is_logon; 
  • trunk/xpressme_integration_kit/class/wpConfigInfo_class.php

    r757 r783  
    99 */ 
    1010 
    11 if (defined( 'XOOPS_MAINFILE_INCLUDED')) : 
     11if (defined( 'XOOPS_MAINFILE_INCLUDED')|| defined( 'XOOPS_BOOTSTRAP')) : 
    1212require_once dirname( __FILE__ ).'/langInfo_class.php' ; 
    1313 
  • 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.