XPressME Integration Kit

Trac


Ignore:
Timestamp:
Aug 11, 2009, 4:31:35 PM (15 years ago)
Author:
toemon
Message:

WP2.1.3MEへの対応 fixed #199
但しWP2.1.3ME自体のバグ(MySQL4.1以上でEUC-JPを使用したときの文字化け)があるので注意

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/add_xpress_process.php

    r358 r360  
    22require_once( dirname( __FILE__ ).'/request_url.php'); 
    33if (is_xpress_index_page_call()){ 
    4         //When notifying by a private message,  
     4        //When notifying by a private message, Notification_reserve_send(); 
    55        //it is evaded that the data base becomes read-only as a result of the check on the referrer and the method.  
    66        $_SERVER['REQUEST_METHOD'] = 'POST'; 
     
    2727        Notification_reserve_send(); 
    2828        ob_start();      
    29                 if($xoops_config->is_wp20 ) 
     29                if (version_compare($xoops_config->wp_version,'2.2', '<')) 
    3030                        require_once dirname( __FILE__ ).'/old_template-loader.php' ; 
    3131                else 
     
    4949        exit();         // The return to wp-blog-header.php is stolen here 
    5050} 
    51 if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path; 
    52 if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path; 
     51if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path;              // for Notification_triggerEvent 
     52if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path;    // for Notification_triggerEvent 
    5353?> 
Note: See TracChangeset for help on using the changeset viewer.