diff options
Diffstat (limited to 'central/trunk/db.php')
-rw-r--r-- | central/trunk/db.php | 16 |
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 | |||
5 | if (!file_exists('config.php')) | ||
6 | { | ||
7 | header('Location: install.php'); | ||
8 | exit; | ||
9 | } | ||
10 | |||
11 | include('config.php'); | ||
12 | |||
13 | mysql_connect($dbhost, $dbuser, $dbpass); | ||
14 | mysql_select_db($dbname); | ||
15 | |||
16 | ?> | ||