db-config.rb 327 B

12345678
  1. $CONFIG = {} unless $CONFIG
  2. $CONFIG['database'] = {} unless $CONFIG['database']
  3. # if you use postgres' "ident sameuser" auth set dbhost to ''
  4. $CONFIG['database']['dbhost'] = 'localhost';
  5. $CONFIG['database']['dbname'] = 'tornaming';
  6. $CONFIG['database']['user'] = 'tornaming';
  7. $CONFIG['database']['password'] = 'x';