Changeset 21843 for branches/version-2_12-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore.php
- Timestamp:
- 2012/05/19 13:14:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore.php
r21842 r21843 545 545 return $arrErr; 546 546 } 547 // plugin_infoを読み込み. 548 $arrErr = $this->requirePluginFile(DOWNLOADS_TEMP_PLUGIN_UPDATE_DIR . 'plugin_info.php', $target_plugin['plugin_code']); 549 if ($this->isError($arrErr) === true) { 550 $this->rollBack(DOWNLOADS_TEMP_PLUGIN_INSTALL_DIR); 551 return $arrErr; 552 } 553 // リフレクションオブジェクトを生成. 554 $objReflection = new ReflectionClass('plugin_info'); 555 $arrPluginInfo = $this->getPluginInfo($objReflection); 556 if ($arrPluginInfo['PLUGIN_CODE'] != $target_plugin['plugin_code']) { 557 $arrErr[$target_plugin['plugin_code']] = '※ プラグインコードが一致しません。<br/>'; 558 return $arrErr; 559 } 560 547 561 // plugin_update.phpを読み込み. 548 562 $arrErr = $this->requirePluginFile(DOWNLOADS_TEMP_PLUGIN_UPDATE_DIR . 'plugin_update.php', $target_plugin['plugin_code']);
Note: See TracChangeset
for help on using the changeset viewer.