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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user