XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 1, 2011, 7:42:28 PM (13 years ago)
Author:
toemon
Message:

wpConfigInfoクラスをmofInfoクラスに統合
XE でWP-adminにアクセスした再 bootしないようにする。

File:
1 edited

Legend:

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

    r782 r786  
    99if ( defined('WP_ADMIN') )      { 
    1010        $nocommon_scripts = array( 
     11                'wp-admin', 
    1112                'wp-admin/async-upload.php', 
    1213        ); 
    1314        foreach($nocommon_scripts as $nocommon_script){ 
    1415                if (strstr($_SERVER['SCRIPT_NAME'],$nocommon_script) !== false) { 
    15                         $xoopsOption['nocommon'] = 1; 
     16                        defined('XOOPS_BOOTSTRAP') or define('XOOPS_BOOTSTRAP', false); // For XE 
     17                        $xoopsOption['nocommon'] = 1;                                                                   // For Other 
    1618                        break; 
    1719                } 
     
    2426 
    2527require_once dirname( __FILE__ ).'/xpress_debug_log.php' ; 
    26 require_once dirname(dirname( __FILE__ )).'/class/wpConfigInfo_class.php' ; 
    27 $wpConfigInfo = new wpConfigInfoClass; 
    2828require_once dirname(dirname( __FILE__ )).'/class/modInfo_class.php' ; 
    2929$modInfo = new modInfoClass; 
    30 require_once dirname(dirname( __FILE__ )).'/class/userInfo_class.php' ; 
    31 $userInfo = new userInfoClass; 
     30//require_once dirname(dirname( __FILE__ )).'/class/userInfo_class.php' ; 
     31//$userInfo = new userInfoClass; 
     32 
    3233require_once dirname( __FILE__ ).'/set_cash_cookie_path.php' ; 
     34 
     35 
    3336?> 
Note: See TracChangeset for help on using the changeset viewer.