|
@@ 431-435 (lines=5) @@
|
| 428 |
|
} |
| 429 |
|
|
| 430 |
|
// DB名のセット |
| 431 |
|
if (isset( $this->dbinfo[ 'dbname' ] ) and !empty( $this->dbinfo[ 'dbname' ] )) { |
| 432 |
|
$retval .= 'dbname=' . $this->dbinfo[ 'dbname' ] . ';'; |
| 433 |
|
} else { |
| 434 |
|
$this->genErrorMsg( "undefined", 'dbname' ); |
| 435 |
|
} |
| 436 |
|
|
| 437 |
|
// ホスト名のセット |
| 438 |
|
if (isset( $this->dbinfo[ 'host' ] ) and !empty( $this->dbinfo[ 'host' ] )) { |
|
@@ 438-442 (lines=5) @@
|
| 435 |
|
} |
| 436 |
|
|
| 437 |
|
// ホスト名のセット |
| 438 |
|
if (isset( $this->dbinfo[ 'host' ] ) and !empty( $this->dbinfo[ 'host' ] )) { |
| 439 |
|
$retval .= 'hostname=' . $this->dbinfo[ 'host' ] . ';'; |
| 440 |
|
} else { |
| 441 |
|
$this->genErrorMsg( "undefined", 'host' ); |
| 442 |
|
} |
| 443 |
|
|
| 444 |
|
// キャラクタセットのセット |
| 445 |
|
if (isset( $this->dbinfo[ 'charset' ] ) and !empty( $this->dbinfo[ 'charset' ] )) { |
|
@@ 445-449 (lines=5) @@
|
| 442 |
|
} |
| 443 |
|
|
| 444 |
|
// キャラクタセットのセット |
| 445 |
|
if (isset( $this->dbinfo[ 'charset' ] ) and !empty( $this->dbinfo[ 'charset' ] )) { |
| 446 |
|
$retval .= 'charset=' . $this->dbinfo[ 'charset' ]; |
| 447 |
|
} else { |
| 448 |
|
$this->genErrorMsg( "undefined", 'charset' ); |
| 449 |
|
} |
| 450 |
|
|
| 451 |
|
return $retval; |
| 452 |
|
} |