XPressME Integration Kit

Trac

Changeset 67 for trunk


Ignore:
Timestamp:
Jan 27, 2009, 8:01:08 AM (16 years ago)
Author:
toemon
Message:

XLC専用コードからimpress,xoops2.0.16対応への変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/include_xoops_define.php

    r66 r67  
    4545} 
    4646 
    47 //if (is_admin_page_call()){ 
    4847if (is_media_upload_page_call() ){ 
    4948        if ( !defined("XOOPS_ROOT_PATH") ) { 
    50 //              define('_LEGACY_PREVENT_LOAD_CORE_', 1);                //Module process will not load any XOOPS Cube classes. 
    51                 define('_LEGACY_PREVENT_EXEC_COMMON_', 1);       
     49                //Module process will not load any XOOPS Cube classes. 
     50                define('_LEGACY_PREVENT_EXEC_COMMON_', 1);              // for XCL 
     51                $xoopsOption['nocommon'] = 1;                                   // for XOOPS 
    5252                include_once dirname( __FILE__ ).'/../../../mainfile.php'; 
    53                 $root=&XCube_Root::getSingleton(); 
    54                 $root->mController->executeCommonSubset(); 
    5553        } 
    5654        if (!defined("XOOPS_UPLOAD_PATH")) 
Note: See TracChangeset for help on using the changeset viewer.