Normalize oracle driver name.

This commit is contained in:
stronk7 2006-05-29 17:42:01 +00:00
parent 2d2f440b6e
commit cfba5440c0

View File

@ -585,6 +585,9 @@ function environment_check_database($version) {
if ($current_vendor == 'postgres7') { //Normalize a bit postgresql
$current_vendor ='postgres';
}
if ($current_vendor == 'oci8po') { //Normalize a bit oracle
$current_vendor ='oracle';
}
$dbinfo = $db->ServerInfo();
$current_version = normalize_version($dbinfo['version']);
$needed_version = $vendors[$current_vendor];