about summary refs log tree commit diff stats
path: root/central/trunk/db.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-06-23 09:30:06 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-06-23 09:30:06 +0000
commit3598c1a205bd3419f75ae481ad20d3f54b154bad (patch)
treeac614039e5732357cf3455aa7b56f913c6377733 /central/trunk/db.php
parenta6b3866f4d23071d3fbb2f67c080ee8f3ff00cff (diff)
downloadinstadisc-3598c1a205bd3419f75ae481ad20d3f54b154bad.tar.gz
instadisc-3598c1a205bd3419f75ae481ad20d3f54b154bad.tar.bz2
instadisc-3598c1a205bd3419f75ae481ad20d3f54b154bad.zip
Added database support
Diffstat (limited to 'central/trunk/db.php')
-rw-r--r--central/trunk/db.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/central/trunk/db.php b/central/trunk/db.php new file mode 100644 index 0000000..61d9bc4 --- /dev/null +++ b/central/trunk/db.php
@@ -0,0 +1,16 @@
1<?php
2
3/* InstaDisc Server - A Four Island Project */
4
5if (!file_exists('config.php'))
6{
7 header('Location: install.php');
8 exit;
9}
10
11include('config.php');
12
13mysql_connect($dbhost, $dbuser, $dbpass);
14mysql_select_db($dbname);
15
16?>