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>Installing WP-Links.</p>
|
||||||
<p>Checking for tables...</p>
|
<p>Checking for tables...</p>
|
||||||
<?php
|
<?php
|
||||||
$result = mysql_list_tables($dbname);
|
$result = mysql_list_tables(DB_NAME);
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
print "DB Error, could not list tables\n";
|
print "DB Error, could not list tables\n";
|
||||||
print 'MySQL Error: ' . mysql_error();
|
print 'MySQL Error: ' . mysql_error();
|
||||||
|
|
Loading…
Reference in New Issue