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:
saxmatt 2003-06-07 21:24:42 +00:00
parent 971d1ac178
commit f571fecf39
1 changed files with 1 additions and 1 deletions

View File

@ -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();