Update oracle.php

This commit is contained in:
Namhyeon Go 2018-03-27 11:06:05 +09:00 committed by GitHub
parent 33b5206b19
commit 28d2d6ae02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ 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 == "ENV") {
if($k_terms[0] == "ENV") {
$envs[] = $k_terms[1] . "=" . $options[$k];
}
}