Changeset 17138 for branches/version-2/data/include
- Timestamp:
- 2008/03/12 20:56:44 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/include/module.inc
r17125 r17138 22 22 */ 23 23 24 if (!defined('ECCUBE_INSTALL E')) {24 if (!defined('ECCUBE_INSTALL')) { 25 25 return; 26 26 } … … 44 44 /** 45 45 * インクルードするモジュールの一覧 46 * XXX dtb_moduleとかに保持したい...46 * FIXME dtb_moduleとかに保持する 47 47 */ 48 48 $_arrModule = array( … … 59 59 foreach ($_arrModuleCode as $_moduleCode) { 60 60 $_file = MODULE_PATH . "$_moduleCode/include.php"; 61 if (i sset($_arrModule[$_moduleCode]) && file_exists($_file)) {61 if (in_array($_moduleCode, $_arrModule) && file_exists($_file)) { 62 62 include_once($_file); 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.