diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-18 21:59:23 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-18 21:59:23 +0000 |
commit | fd3f2cbdaa1e3c160727c3cf09ef03d06174c114 (patch) | |
tree | 12ea30a00c68891f2fbc01f5b2730bc6edc153aa /series/trunk/includes/db.php | |
parent | d2a7b26e98569624347d717d7fdfe6c3074658a9 (diff) | |
download | instadisc-fd3f2cbdaa1e3c160727c3cf09ef03d06174c114.tar.gz instadisc-fd3f2cbdaa1e3c160727c3cf09ef03d06174c114.tar.bz2 instadisc-fd3f2cbdaa1e3c160727c3cf09ef03d06174c114.zip |
Series: Removed Series component
Refs #57
Diffstat (limited to 'series/trunk/includes/db.php')
-rw-r--r-- | series/trunk/includes/db.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/series/trunk/includes/db.php b/series/trunk/includes/db.php deleted file mode 100644 index 6c08708..0000000 --- a/series/trunk/includes/db.php +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Series - A Four Island Project */ | ||
4 | |||
5 | if (!file_exists('includes/config.php')) | ||
6 | { | ||
7 | header('Location: install.php'); | ||
8 | exit; | ||
9 | } | ||
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 | |||
16 | session_start(); | ||
17 | |||
18 | include('includes/config.php'); | ||
19 | |||
20 | mysql_connect($dbhost, $dbuser, $dbpass); | ||
21 | mysql_select_db($dbname); | ||
22 | |||
23 | ?> | ||