Fixed the config to fail more smoothly

master
Silverwizard 10 years ago
parent 01c3474c48
commit ca14d44dd1
  1. 2
      config.rb

@ -9,4 +9,4 @@ print "password: "
password = gets password = gets
print "dbname: " print "dbname: "
dbname = gets dbname = gets
config.print("my = Mysql.connect('" + hostname.strip + "', '" + username.strip + "', '" + password.strip + "', '" + dbname.strip + "')\n") config.print("print 'Could not connect to DB' unless $my = Mysql.connect('" + hostname.strip + "', '" + username.strip + "', '" + password.strip + "', '" + dbname.strip + "')\n")

Loading…
Cancel
Save