about summary refs log tree commit diff stats
path: root/central/trunk/db.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-06-23 09:47:21 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-06-23 09:47:21 +0000
commitc6e3d927c343280bc1fd6d0dfdb64658151e9aac (patch)
tree2748a3fef5c547503433cde7ae93da64430bbf28 /central/trunk/db.php
parent3598c1a205bd3419f75ae481ad20d3f54b154bad (diff)
downloadinstadisc-c6e3d927c343280bc1fd6d0dfdb64658151e9aac.tar.gz
instadisc-c6e3d927c343280bc1fd6d0dfdb64658151e9aac.tar.bz2
instadisc-c6e3d927c343280bc1fd6d0dfdb64658151e9aac.zip
Moved code needed by most pages into a single file.
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);