Changeset 15530 for branches/feature-module-update/data/conf/core.php
- Timestamp:
- 2007/08/31 22:19:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/conf/core.php
r15080 r15530 20 20 if(defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') && defined('DB_SERVER') && defined('DB_PORT') && defined('DB_NAME')) { 21 21 // サイト用DB 22 define ("DEFAULT_DSN", DB_TYPE . "://" . DB_USER . ":" . DB_PASSWORD . "@" . DB_SERVER . ":" .DB_PORT . "/" . DB_NAME); 22 if (DB_TYPE == 'oci8') { // TODO 23 define ("DEFAULT_DSN", DB_TYPE . "://" . DB_USER . ":" . DB_PASSWORD . "@" . DB_SERVER); 24 } else { 25 define ("DEFAULT_DSN", DB_TYPE . "://" . DB_USER . ":" . DB_PASSWORD . "@" . DB_SERVER . ":" .DB_PORT . "/" . DB_NAME); 26 } 23 27 } 24 28
Note: See TracChangeset
for help on using the changeset viewer.