XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jul 23, 2009, 12:55:34 PM (15 years ago)
Author:
toemon
Message:

Impress CMSでインラインに表示されるイベント選択が表示されない バグ修正 fixes #186

File:
1 edited

Legend:

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

    r132 r343  
    4949        } 
    5050//      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        } 
    5561} 
    5662 
Note: See TracChangeset for help on using the changeset viewer.