mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 16:21:40 +00:00

Refactored server-side upload code. Fixed sql username for uploader from the read-only username to the read/write username. Added a seperate GAMES_AI table for ai vs. ai games.
28 lines
882 B
Plaintext
28 lines
882 B
Plaintext
# $Id$
|
|
"""
|
|
Copyright (C) 2009 by Gregory Shikhman <cornmander@cornmander.com>
|
|
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License version 2
|
|
or at your option any later version.
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY.
|
|
|
|
See the COPYING file for more details.
|
|
"""
|
|
|
|
#edit these settings to match your MySQL db login info
|
|
DB_HOSTNAME="hostname"
|
|
DB_USERNAME="username"
|
|
DB_PASSWORD="password"
|
|
DB_WRITE_USERNAME="username"
|
|
DB_WRITE_PASSWORD="password"
|
|
DB_NAME="database"
|
|
DB_TABLE_PREFIX="_ws"
|
|
|
|
DB_PLOTABLE_COLUMNS="platform,version,campaign,difficulty,gold,turns,scenario,result,turns,end_gold"
|
|
|
|
MAP_DIR="/var/tmp/wesnoth/maps/"
|
|
TILE_DIR="/home/cornmander/website/wesstats/images/"
|