Changeset 17160 for branches/version-2/data/class/pages
- Timestamp:
- 2008/03/17 17:23:37 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/upgrade/LC_Page_Upgrade_Download.php
r16932 r17160 213 213 $this->registerUpdateLog($arrCopyLog, $objRet->data); 214 214 215 if ($mode != 'patch_download') { 216 // dtb_moduleの更新 217 $objLog->log("* insert/update dtb_module start"); 218 $this->updateMdlTable($objRet->data); 219 } 215 // dtb_moduleの更新 216 $objLog->log("* insert/update dtb_module start"); 217 $this->updateMdlTable($objRet->data); 218 219 // DB更新ファイルの読み込み、実行 220 $objLog->log("* file execute start"); 221 $this->fileExecute(); 220 222 221 223 // 配信サーバへ通知 … … 370 372 $objQuery->insert('dtb_module_update_logs', $arrInsert); 371 373 } 374 375 /** 376 * DB更新ファイルの読み込み、実行 377 * 378 * パッチ側でupdate.phpを用意する. 379 * 他の変数・関数とかぶらないよう、 380 * LC_Update_Updater::execute()で処理を実行する. 381 */ 382 function fileExecute() { 383 $file = DATA_PATH . 'downloads/update/update.php'; 384 if (file_exists($file)) { 385 @include_once $file; 386 if (class_exists('LC_Update_Updater')) { 387 $update = new LC_Update_Updater; 388 $update->execute(); 389 } 390 } 391 } 372 392 } 373 393 ?>
Note: See TracChangeset
for help on using the changeset viewer.