$_CONFIG = true; /* database settings */ $CFG_SERVER = "localhost"; $CFG_USER = "webchess"; $CFG_PASSWORD = "sqladmin"; $CFG_DATABASE = "webchess"; /* server settings */ $CFG_SESSIONTIMEOUT = 900; /* session times out if user doesn't interact after 600 secs (10 mins) */ $CFG_EXPIREGAME = 14; /* number of days before untouched games expire */ $CFG_MINAUTORELOAD = 5; /* min number of secs between automatic reloads reloads */ /* email notification requires PHP to be properly configured for */ /* NOTE: in chessutils.php a line is commented containing: $headers .= "To: ".$msgTo."\r\n"; Some MTAs may require for you to uncomment such line. Do so if mail notification doesn't work */ $CFG_USEEMAILNOTIFICATION = false; /* SMTP operations. This flag allows you to easily activate or deactivate this feature. It is highly recommended you test it before putting it into production */ /* email address people see when receiving WebChess generated mail */ $CFG_MAILADDRESS = "warchilin66@cpugod.synchro.net"; $CFG_MAXUSERS = 50; $CFG_MAXACTIVEGAMES = 50; $CFG_NICKCHANGEALLOWED = false; /* whether a user can change their nick from the main menu */ $CFG_NEW_USERS_ALLOWED = true; $CFG_BOARDSQUARESIZE = 50; /* May be used to resize board size */ ?>
Version 0.9.0, last updated September 2nd, 2004