XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 18, 2011, 9:07:23 PM (14 years ago)
Author:
toemon
Message:

WPなしでのインストールに対応 Fixed#405

File:
1 edited

Legend:

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

    r733 r744  
    111111        } 
    112112} 
    113  
    114113require_once( dirname( __FILE__ ).'/request_url.php'); 
    115114require_once( dirname( __FILE__ ).'/memory_limit.php'); 
    116115 
    117116$global_session = $_SESSION; 
    118  
    119117if (is_xpress_index_page_call()){ 
     118        require_once( dirname( __FILE__ ).'/wp_check.php'); 
     119        if (!is_wpdb_installed()){ 
     120                include $xoops_config->xoops_root_path ."/header.php"; 
     121                echo "<h2>Wordpress has not been installed yet. </h2>"; 
     122                include $xoops_config->xoops_root_path . '/footer.php'; 
     123                exit(); 
     124        } 
     125 
    120126        //$_SERVER['REQUEST_METHOD'] = 'POST' is 
    121127        //When notifying by a private message, Notification_reserve_send(); 
Note: See TracChangeset for help on using the changeset viewer.