- Timestamp:
- Jan 27, 2009, 8:01:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/include_xoops_define.php
r66 r67 45 45 } 46 46 47 //if (is_admin_page_call()){48 47 if (is_media_upload_page_call() ){ 49 48 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 52 52 include_once dirname( __FILE__ ).'/../../../mainfile.php'; 53 $root=&XCube_Root::getSingleton();54 $root->mController->executeCommonSubset();55 53 } 56 54 if (!defined("XOOPS_UPLOAD_PATH"))
Note: See TracChangeset
for help on using the changeset viewer.