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

fix mysqlnd detection

This commit is contained in:
Johannes Schlüter
2008-10-19 12:43:10 +00:00
parent c2e0aaebb6
commit d106560958
+1 -1
View File
@@ -155,7 +155,7 @@ class MySQLPDOTest extends PDOTest {
phpinfo();
$tmp = ob_get_contents();
ob_end_clean();
return (true == stristr($tmp, 'PDO Driver for MySQL, mysql native driver version'));
return (bool)preg_match('/Client API version.*mysqlnd/', $tmp);
}
}