<?php
/**
 *
 * eliteCMS - The Lightweight CMS Copyright  2008 elite-graphix.net.
 * eliteCMS is a free software to use for personal websites.
 * Anyone can use eliteCMS for free as long as he retain the 
 * copyright note at the footer.
 * If anyone wants to remove the copyright note for commercial 
 * use of the software can contact raj@elite-graphix.net.
 * eliteCMS comes with absolutely no warranty and is provided as-is.
 * raj - THE AUTHOR of the software or elite-graphix - THE COMPANY 
 * will not be held responsible for any damage this software might cause.
 * You run this software at your own risk and agree not to hold author or company.
 * You are not allowed to make any profit from this software unless you 
 * have a written authorization from the author to use the software for commercial use.
 * 
 */
 //edit settings below if you are facing problems during the setup process
 
define("DB_SERVER", "localhost"); // change it with your database host
define("DB_NAME", "elitecms"); //change it with your database 
define("DB_USER", "root"); //change it with your database user
define("DB_PASS", "yourpassword");//change it with your database password

// DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT ARE YOU DOING

$connection = mysql_connect(DB_SERVER, DB_USER, DB_PASS);
if (!$connection) {
	die("Database connection failed" .mysql_error());
	
} 
$db_select = mysql_select_db(DB_NAME, $connection);
if (!$db_select) {
	die("Database select failed" .mysql_error());
	
} 
?>
