about summary refs log tree commit diff stats
path: root/central/trunk/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'central/trunk/db.php')
-rw-r--r--central/trunk/db.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/central/trunk/db.php b/central/trunk/db.php deleted file mode 100644 index 168d303..0000000 --- a/central/trunk/db.php +++ /dev/null
@@ -1,28 +0,0 @@
1<?php
2
3/* InstaDisc Server - A Four Island Project */
4
5if (!extension_loaded('curl'))
6{
7 die('Sorry, but the PHP Extension "curl" is required for InstaDisc Server and you don\'t have it installed.');
8}
9
10if (!file_exists('config.php'))
11{
12 header('Location: install.php');
13 exit;
14}
15
16if (file_exists('install.php'))
17{
18 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.');
19}
20
21session_start();
22
23include('config.php');
24
25mysql_connect($dbhost, $dbuser, $dbpass);
26mysql_select_db($dbname);
27
28?>