about summary refs log blame commit diff stats
path: root/central/trunk/db.php
blob: c49272268c1e46d4223d0f87e9fcfa0c80035f90 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                              
                               



                                        



                                                                                                                                             
                      



                                         
<?php

/* InstaDisc Server - A Four Island Project */

if (!file_exists('config.php'))
{
	header('Location: install.php');
	exit;
}

if (file_exists('install.php'))
{
	die('Excuse me, but you need to delete install.php before you can use this as leaving install.php there is a biiiig security hole.');
}

include('config.php');

mysql_connect($dbhost, $dbuser, $dbpass);
mysql_select_db($dbname);

?>