From c6e3d927c343280bc1fd6d0dfdb64658151e9aac Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 23 Jun 2008 09:47:21 +0000 Subject: Moved code needed by most pages into a single file. --- central/trunk/db.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'central/trunk/db.php') 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')) exit; } +if (file_exists('install.php')) +{ + 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.'); +} + include('config.php'); mysql_connect($dbhost, $dbuser, $dbpass); -- cgit 1.4.1