XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 7, 2011, 6:56:51 PM (14 years ago)
Author:
toemon
Message:

XOOPS mainfile.phpからDB接続情報を取得する方法の変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver3.0/xpressme_integration_kit/include/add_xpress_process.php

    r696 r733  
    121121        //When notifying by a private message, Notification_reserve_send(); 
    122122        //it is evaded that the data base becomes read-only as a result of the check on the referrer and the method.  
     123/* 
    123124        $request_method =  (isset($_SERVER['REQUEST_METHOD'])) ? $_SERVER['REQUEST_METHOD'] : ''; 
    124125        $_SERVER['REQUEST_METHOD'] = 'POST'; 
    125126        require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php.  
    126127        $_SERVER['REQUEST_METHOD'] = $request_method; 
     128*/ 
    127129        xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.) 
    128130        unset($offset);         //This Trap is provides the case where $offset is defined on the XOOPS side. 
     
    205207        exit();         // The return to wp-blog-header.php is stolen here 
    206208} 
    207 if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path;              // for Notification_triggerEvent 
    208 if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path;    // for Notification_triggerEvent 
     209//if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path;            // for Notification_triggerEvent 
     210//if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path;  // for Notification_triggerEvent 
    209211xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.) 
    210212require_once(ABSPATH.'wp-settings.php'); 
Note: See TracChangeset for help on using the changeset viewer.