XPressME Integration Kit

Trac

Changeset 479 for trunk


Ignore:
Timestamp:
Dec 4, 2009, 10:58:28 AM (15 years ago)
Author:
toemon
Message:

ソースへのコメント追記

File:
1 edited

Legend:

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

    r477 r479  
    3434require_once( dirname( __FILE__ ).'/request_url.php'); 
    3535if (is_xpress_index_page_call()){ 
     36        //$_SERVER['REQUEST_METHOD'] = 'POST' is 
    3637        //When notifying by a private message, Notification_reserve_send(); 
    3738        //it is evaded that the data base becomes read-only as a result of the check on the referrer and the method.  
     
    4041        require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php.  
    4142        $_SERVER['REQUEST_METHOD'] = $request_method; 
    42         unset($offset); 
     43         
     44        unset($offset);         //This Trap is provides the case where $offset is defined on the XOOPS side. 
    4345        require_once(ABSPATH.'wp-settings.php'); 
    4446         
     47        //When it is not possible to connect it correctly at site home URL on the WordPress side,  
     48        //URL is corrected based on accessed URL.  
    4549        safe_site_url(); 
    4650 
Note: See TracChangeset for help on using the changeset viewer.