XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jul 28, 2009, 6:10:49 PM (15 years ago)
Author:
toemon
Message:

予約投稿、xmlrpc 投稿時のイベント通知問題の修正 fixes #194
イベント通知のデバッグ用の処理追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-config.php

    r294 r352  
    9595require_once( ABSPATH .'/include/request_url.php'); 
    9696if (is_xpress_index_page_call()){ 
     97        //When notifying by a private message,  
     98        //it is evaded that the data base becomes read-only as a result of the check on the referrer and the method.  
     99        $_SERVER['REQUEST_METHOD'] = 'POST'; 
     100 
    97101        require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php.  
     102         
    98103        require_once(ABSPATH.'wp-settings.php'); 
    99104        if (!is_object($xoopsUser)){    // before login auth cookie clear 
     
    110115                $err_str = "The activation of the XPressME plugin was executed.<br />\n"; 
    111116                $err_str .= "Because the XPressME plugin was invalid.<br />\n"; 
    112                 $err_str .= "Please do the rereading seeing on the page.\n";                     
     117                $err_str .= "Please do the rereading seeing on the page.\n"; 
    113118                die($err_str); 
    114119        } 
    115  
     120         
     121        Notification_reserve_send(); 
    116122        ob_start();      
    117123                if($xoops_config->is_wp20 ) 
Note: See TracChangeset for help on using the changeset viewer.