XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 24, 2011, 9:03:23 AM (13 years ago)
Author:
toemon
Message:

ブランチ構成ミス、changeset 758に戻す

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.4/xpressme_integration_kit/include/add_xpress_process.php

    r763 r769  
    118118 
    119119if (is_xpress_index_page_call()){ 
     120        //$_SERVER['REQUEST_METHOD'] = 'POST' is 
     121        //When notifying by a private message, Notification_reserve_send(); 
     122        //it is evaded that the data base becomes read-only as a result of the check on the referrer and the method.  
     123        $request_method =  (isset($_SERVER['REQUEST_METHOD'])) ? $_SERVER['REQUEST_METHOD'] : ''; 
     124        $_SERVER['REQUEST_METHOD'] = 'POST'; 
     125        require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php.  
     126        $_SERVER['REQUEST_METHOD'] = $request_method; 
    120127        xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.) 
    121128        unset($offset);         //This Trap is provides the case where $offset is defined on the XOOPS side. 
Note: See TracChangeset for help on using the changeset viewer.