about summary refs log tree commit diff stats
path: root/series/trunk/includes/db.php
blob: 6c08708e58191e399961b0aa0da4434897fdbe54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/* InstaDisc Series - A Four Island Project */

if (!file_exists('includes/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.');
}

session_start();

include('includes/config.php');

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

?>