readfile the script so we know whats happening

This commit is contained in:
james 2005-03-10 17:31:23 +00:00
parent 81e1559b8d
commit 9d60276f89

View File

@ -49,6 +49,8 @@ if($dbcodeversion && $dbdbversion)
if(file_exists("db.update.$ver.sql"))
{
echo "db.update.$ver.sql detected - running...\n";
readfile("db.update.$ver.sql");
echo "\n";
system("mysql -h$DBHOST -u$DBUSER -p$DBPASS $DBNAME <db.update.$ver.sql");
}
else