source: branches/feature-module-update/html/test/naka/insertMasterData.php @ 16328

Revision 16328, 827 bytes checked in by naka, 15 years ago (diff)

テスト用スクリプト

Line 
1<?php
2    require_once("../../require.php");
3    $objMasterData = new SC_DB_MasterData_Ex();
4    //$objMasterData->insertMasterData("mtb_constants", "OS_TYPE", "\"WIN\"", "OS種別:WIN|LINUX");
5    //$objMasterData->insertMasterData("mtb_constants", "SMTP_HOST", "\"210.188.192.18\"", "SMTPサーバ");
6    //$objMasterData->insertMasterData("mtb_constants", "SMTP_PORT", "\"25\"", "SMTPポート"); 
7   
8    $objMasterData->insertMasterData("mtb_constants", "MODULE2_DIR", "\"downloads/module2/\"", "EC-CUBE2対応モジュール");
9    $objMasterData->insertMasterData("mtb_constants", "MODULE2_PATH", "DATA_PATH . MODULE2_DIR", "EC-CUBE2対応モジュール");
10   
11    $arrMasterData = $objMasterData->getMasterData("mtb_constants");
12    $objMasterData->createCache("mtb_constants", $arrMasterData, true, array("id", "remarks", "rank"));
13?>
Note: See TracBrowser for help on using the repository browser.