diff options
author | Ulf Wendel <uw@php.net> | 2011-07-26 09:30:49 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2011-07-26 09:30:49 +0000 |
commit | 41c94d26a49f34d8912276ba9c27000b772b3088 (patch) | |
tree | da31fafb65e9ef926806c37cc7ab85f6d7d62cb2 | |
parent | 3b6ad85fa9b67a71c7d28c6b56cbf8f376cab0b1 (diff) | |
download | php-git-41c94d26a49f34d8912276ba9c27000b772b3088.tar.gz |
Fix mysqlnd detection
-rw-r--r-- | ext/pdo_mysql/tests/mysql_pdo_test.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_mysql/tests/mysql_pdo_test.inc b/ext/pdo_mysql/tests/mysql_pdo_test.inc index a3ffd5b9cc..0af2e6df65 100644 --- a/ext/pdo_mysql/tests/mysql_pdo_test.inc +++ b/ext/pdo_mysql/tests/mysql_pdo_test.inc @@ -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); } |