XPressME Integration Kit

Trac

Changeset 791 for trunk


Ignore:
Timestamp:
Jun 3, 2011, 12:30:10 PM (14 years ago)
Author:
toemon
Message:

add_xpress_config.php 調整

File:
1 edited

Legend:

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

    r786 r791  
    1414        foreach($nocommon_scripts as $nocommon_script){ 
    1515                if (strstr($_SERVER['SCRIPT_NAME'],$nocommon_script) !== false) { 
    16                         defined('XOOPS_BOOTSTRAP') or define('XOOPS_BOOTSTRAP', false); // For XE 
    17                         $xoopsOption['nocommon'] = 1;                                                                   // For Other 
     16                        $xoopsOption['nocommon'] = 1; 
    1817                        break; 
    1918                } 
     
    2423 
    2524$_SERVER['REQUEST_METHOD'] = $request_method; //It returns it to former data.  
     25require_once dirname( __FILE__ ).'/set_cash_cookie_path.php' ; 
     26require_once dirname( __FILE__ ).'/xpress_debug_log.php' ; 
    2627 
    27 require_once dirname( __FILE__ ).'/xpress_debug_log.php' ; 
    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; 
     30require_once dirname(dirname( __FILE__ )).'/class/userInfo_class.php' ; 
     31$userInfo = new userInfoClass; 
    3232 
    33 require_once dirname( __FILE__ ).'/set_cash_cookie_path.php' ; 
    3433 
    3534 
Note: See TracChangeset for help on using the changeset viewer.