<?php
session_start();
date_default_timezone_set('Europe/Amsterdam');
/**************************************/
// Configuration -> Galaxy GunZ //
/************************************/
// Settings to connect to the database. //
$_CONFIG['host'] = "mysql;
$_CONFIG['user'] = "sa";
$_CONFIG['pass'] = "mypassword";
$_CONFIG['dbn'] = "GunzVG";
// Site online/offline. 1 = on, 0 = off.
$_CONFIG['mode'] = 1;
$_CONFIG['modemsg'] = "<br /><br /><center>Website is currently turned off.</center>";
$con = mssql_connect($_CONFIG['host'], $_CONFIG['user'], $_CONFIG['pass']) or die("Failed to connect to the database!");
mssql_select_db($_CONFIG['dbn'], $con) or die("Failed to select the database!");
if($_CONFIG['mode'] == 0)
{
die($_CONFIG['modemsg']);
}
$host = "mysql";
$user = "sa";
$pass = "mypassword";
$dbname = "GunzVG";
$connect = odbc_connect("Driver={SQL Server};Server={$host}; Database={$dbname}", $user, $pass) or die("Can't connect the MSSQL server.");
$emblemfolder = "emblem"; //Emblem folder for the emblem uploader.
$servername = "my GunZ"; //The title of the website.
$downloadlink = "http://multiupload.com"; //Download link for the navbar and side links.
$forumlink = "Http://forum.ragezone.com"; //Forum link for the navbar.
$votelink = "http://top200.top-site-list.com/vote380.html"; //Vote link for the navbar.
$matchserverport = 6000; //Leave it the way it is if you don't know what it is.
$matchagentport = 7777; //Leave it the way it is if you don't know what it is.
?>