1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00

more paranoia about the attribute param here too

This commit is contained in:
Wez Furlong
2005-07-07 13:56:39 +00:00
parent 1095da42e0
commit fff515bc46

View File

@@ -16,7 +16,9 @@ if (false !== getenv('PDO_ODBC_TEST_DSN')) {
$config['ENV']['PDOTEST_DSN'] = getenv('PDO_ODBC_TEST_DSN');
$config['ENV']['PDOTEST_USER'] = getenv('PDO_ODBC_TEST_USER');
$config['ENV']['PDOTEST_PASS'] = getenv('PDO_ODBC_TEST_PASS');
$config['ENV']['PDOTEST_ATTR'] = getenv('PDO_ODBC_TEST_ATTR');
if (false !== getenv('PDO_ODBC_TEST_ATTR')) {
$config['ENV']['PDOTEST_ATTR'] = getenv('PDO_ODBC_TEST_ATTR');
}
} elseif (preg_match('/^WIN/i', PHP_OS)) {
# on windows, try to create a temporary MS access database
$path = realpath(dirname(__FILE__)) . '\pdo_odbc.mdb';