<?php
/**
* config.php
*
* This file contains all the constants, configurations,
* and classes used to make the Guild DKP System work correctly.
*
* Written by: Dexter Brock (hide@address.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Thank you for your interest in the Guild DKP System.
*/
/**
* Database Constants - these constants are required
* in order for there to be a successful connection
* to the MySQL database. Make sure the information is
* correct.
*/
define("DB_SERVER", "localhost"); //database connection ex. "localhost"
define("DB_USER", "changeme_username"); //database username ex. "username"
define("DB_PASS", "changeme_password"); //database password ex. "password"
define("DB_NAME", "changeme_databasename"); //database name ex. "dkppoints"
/**
* Guild Constants - these constants are
* user to display some general information
* about the guild.
*/
define("GUILD_NAME", "CHANGEME GUILD NAME"); //Guild Name ex. "Ravencrest Watch"
define("GUILD_HOMEPAGE", "www.CHANGEME.com"); //Guild Homepage (Do not include 'http://') ex. "www.guild.com"
/**
* Class color constants - these constants
* determine which color should be used when formatting
* players on certain pages (points, raids, etc)
*/
define("COLOR_DRUID", "#FF9900"); //Druid colors
define("COLOR_HUNTER", "#00CC00"); //Hunter colors
define("COLOR_MAGE", "#00CCCC"); //Mage colors
define("COLOR_PALADIN", "#CC0099"); //Paladin colors
define("COLOR_PRIEST", "#FFFFFF"); //Priest colors
define("COLOR_ROGUE", "#FFCC00"); //Shaman colors
define("COLOR_SHAMAN", "#CC0099"); //Rogue colors
define("COLOR_WARLOCK", "#9933FF"); //Warlock colors
define("COLOR_WARRIOR", "#BB5E00"); //Warrior colors
define("COLOR_DEFAULT", "#CCCCCC"); //Default colors if no class is found
/****************************************
* DO NOT EDIT ANYTHING BELOW THIS LINE *
***************************************/
define("IMG_ARROW", "<img src='images/arrow.gif' width='20' height='10'>");
require("includes/messages.php");
require("mysqldb.php");
session_start();
?>