Changeset 6031
- Timestamp:
- 2006/10/12 11:20:33 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/conf/core.php (modified) (1 diff)
-
html/install/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/conf/core.php
r6004 r6031 33 33 define ("DB_ERROR_MAIL_SUBJECT", "OS_TEST_ERROR"); 34 34 35 // ¥µ¥¤¥ÈÍÑDB 36 define ("DEFAULT_DSN", DB_TYPE . "://" . DB_USER . ":" . DB_PASSWORD . "@" . DB_SERVER . ":" .DB_PORT . "/" . DB_NAME); 35 if(defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') && defined('DB_SERVER') && defined('DB_PORT') && defined('DB_NAME')) { 36 // ¥µ¥¤¥ÈÍÑDB 37 define ("DEFAULT_DSN", DB_TYPE . "://" . DB_USER . ":" . DB_PASSWORD . "@" . DB_SERVER . ":" .DB_PORT . "/" . DB_NAME); 38 } 37 39 38 40 // Í¹ÊØÈÖ¹æÀìÍÑDB -
temp/trunk/html/install/index.php
r6030 r6031 185 185 $arrRet = $objDBParam->getHashArray(); 186 186 187 $dsn = $arrRet['db_type']."://".$arrRet['db_user'].":".$arrRet['db_password']."@".$arrRet['db_server']. $port."/".$arrRet['db_name'];187 $dsn = $arrRet['db_type']."://".$arrRet['db_user'].":".$arrRet['db_password']."@".$arrRet['db_server'].":".$arrRet['db_port']."/".$arrRet['db_name']; 188 188 $sqlval['shop_name'] = $objWebParam->getValue('shop_name'); 189 189 $sqlval['email01'] = $objWebParam->getValue('admin_mail'); … … 422 422 $secure_url = "http://" . $_SERVER['HTTP_HOST'] . $dir; 423 423 } 424 425 print(DEFAULT_DSN); 424 426 425 427 $objWebParam->addParam("Ź̾", "shop_name", MTEXT_LEN, "", array("EXIST_CHECK","MAX_LENGTH_CHECK"));
Note: See TracChangeset
for help on using the changeset viewer.
