diff options
Diffstat (limited to 'central/trunk/db.php')
-rw-r--r-- | central/trunk/db.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/central/trunk/db.php b/central/trunk/db.php index 61d9bc4..c492722 100644 --- a/central/trunk/db.php +++ b/central/trunk/db.php | |||
@@ -8,6 +8,11 @@ if (!file_exists('config.php')) | |||
8 | exit; | 8 | exit; |
9 | } | 9 | } |
10 | 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 | |||
11 | include('config.php'); | 16 | include('config.php'); |
12 | 17 | ||
13 | mysql_connect($dbhost, $dbuser, $dbpass); | 18 | mysql_connect($dbhost, $dbuser, $dbpass); |