- Timestamp:
- Dec 31, 2008, 12:33:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/include_xoops_define.php
r18 r60 38 38 if (is_admin_page_call()){ 39 39 if ( !defined("XOOPS_ROOT_PATH") ) { 40 define('_LEGACY_PREVENT_LOAD_CORE_', 1); //Module process will not load any XOOPS Cube classes. 40 // define('_LEGACY_PREVENT_LOAD_CORE_', 1); //Module process will not load any XOOPS Cube classes. 41 define('_LEGACY_PREVENT_EXEC_COMMON_', 1); 41 42 include_once dirname( __FILE__ ).'/../../../mainfile.php'; 43 $root=&XCube_Root::getSingleton(); 44 $root->mController->executeCommonSubset(); 42 45 } 43 46 if (!defined("XOOPS_UPLOAD_PATH"))
Note: See TracChangeset
for help on using the changeset viewer.