Fix mysqlnd detection

This commit is contained in:
Ulf Wendel 2011-07-26 09:30:49 +00:00
parent 4cbca588f7
commit ff58394fd6

View file

@ -155,6 +155,7 @@ class MySQLPDOTest extends PDOTest {
phpinfo();
$tmp = ob_get_contents();
ob_end_clean();
$tmp = stristr($tmp, "PDO Driver for MySQL => enabled");
return (bool)preg_match('/Client API version.*mysqlnd/', $tmp);
}