XPressME Integration Kit

Trac


Ignore:
Timestamp:
Dec 3, 2009, 5:11:25 PM (14 years ago)
Author:
toemon
Message:

WP Super Cacheプラグインへの対応 #263

File:
1 edited

Legend:

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

    r475 r477  
    3636        //When notifying by a private message, Notification_reserve_send(); 
    3737        //it is evaded that the data base becomes read-only as a result of the check on the referrer and the method.  
     38        $request_method =  (isset($_SERVER['REQUEST_METHOD'])) ? $_SERVER['REQUEST_METHOD'] : ''; 
    3839        $_SERVER['REQUEST_METHOD'] = 'POST'; 
    39  
    4040        require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php.  
     41        $_SERVER['REQUEST_METHOD'] = $request_method; 
    4142        unset($offset); 
    4243        require_once(ABSPATH.'wp-settings.php'); 
Note: See TracChangeset for help on using the changeset viewer.