use DB_NAME instead of $dbname
git-svn-id: http://svn.automattic.com/wordpress/trunk@187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
971d1ac178
commit
f571fecf39
|
@ -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