use DB_NAME instead of $dbname
git-svn-id: https://develop.svn.wordpress.org/trunk@187 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
43bd6d875b
commit
ed0e810ee6
@ -77,7 +77,7 @@ $got_row = false;
|
||||
<p>Installing WP-Links.</p>
|
||||
<p>Checking for tables...</p>
|
||||
<?php
|
||||
$result = mysql_list_tables($dbname);
|
||||
$result = mysql_list_tables(DB_NAME);
|
||||
if (!$result) {
|
||||
print "DB Error, could not list tables\n";
|
||||
print 'MySQL Error: ' . mysql_error();
|
||||
|
Loading…
Reference in New Issue
Block a user