diff options
Diffstat (limited to 'central/trunk/db.php')
-rw-r--r-- | central/trunk/db.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/central/trunk/db.php b/central/trunk/db.php deleted file mode 100644 index c492722..0000000 --- a/central/trunk/db.php +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
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 | if (file_exists('install.php')) | ||
12 | { | ||
13 | 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.'); | ||
14 | } | ||
15 | |||
16 | include('config.php'); | ||
17 | |||
18 | mysql_connect($dbhost, $dbuser, $dbpass); | ||
19 | mysql_select_db($dbname); | ||
20 | |||
21 | ?> | ||