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.php5
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
11if (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
11include('config.php'); 16include('config.php');
12 17
13mysql_connect($dbhost, $dbuser, $dbpass); 18mysql_connect($dbhost, $dbuser, $dbpass);