phpMyAdmin should now be fully compatible with the new mysqli extension.

This commit is contained in:
Marcel Tschopp
2004-04-08 12:30:40 +00:00
parent 313a06cce2
commit 74cc95fe29
11 changed files with 116 additions and 105 deletions

View File

@@ -13,7 +13,7 @@ require_once('./libraries/common.lib.php');
/**
* Displays PHP information
*/
$is_superuser = @PMA_mysql_query('USE mysql', $userlink);
$is_superuser = @PMA_DBI_try_query('USE mysql', $userlink);
if ($is_superuser || $cfg['ShowPhpInfo']) {
phpinfo();
}