Changeset 15530


Ignore:
Timestamp:
2007/08/31 22:19:01 (13 years ago)
Author:
nanasess
Message:

暫定 commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/conf/core.php

    r15080 r15530  
    2020if(defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') && defined('DB_SERVER') && defined('DB_PORT') && defined('DB_NAME')) { 
    2121    // サイト用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    } 
    2327} 
    2428 
Note: See TracChangeset for help on using the changeset viewer.