1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 10:12:18 +01:00

possible fix for snaps box

This commit is contained in:
Wez Furlong
2005-02-13 01:32:27 +00:00
parent 68de0d75b0
commit 4dc3b75569

View File

@@ -45,8 +45,12 @@ if (PHP_PDO_MSSQL != "no") {
CHECK_HEADER_ADD_INCLUDE("sqlfront.h", "CFLAGS_PDO_MSSQL",
pdo_mssql_locations[i] + "\\DevTools\\Include",
null, null, true)) {
pdo_mssql_locations[i].match(new RegExp("(\\d)"));
PDO_DBLIB_FLAVOUR = RegExp.$1 + 0;
if (pdo_mssql_locations[i] == 'yes') {
PDO_DBLIB_FLAVOUR = 'UNKNOWN';
} else {
pdo_mssql_locations[i].match(new RegExp("(\\d)"));
PDO_DBLIB_FLAVOUR = RegExp.$1 + 0;
}
break;
}
}