Update oracle.php
This commit is contained in:
parent
48ace86c4a
commit
89e10895b4
|
@ -28,8 +28,10 @@ function exec_db_oracle_connect($host, $port, $user, $password, $options=array()
|
|||
// set envs
|
||||
foreach($options as $k=>$v) {
|
||||
$k_terms = explode(".", $k);
|
||||
if($k_terms[0] == "ENV") {
|
||||
$envs[] = $k_terms[1] . "=" . $options[$k];
|
||||
if(count($k_terms) > 1) {
|
||||
if($k_terms[0] == "ENV") {
|
||||
$envs[] = $k_terms[1] . "=" . $options[$k];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user