about summary refs log tree commit diff stats
path: root/series/core/trunk/includes/db.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-10 21:06:49 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-10 21:06:49 +0000
commit44c3bc48b5db7b3dc6517d2b073a55af5d4b52db (patch)
treea48f63061f3cfe5427ce1bc313147cf6be0e739a /series/core/trunk/includes/db.php
parenta9a796498285358e7a2f1fde5043e4015de5db70 (diff)
downloadinstadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.tar.gz
instadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.tar.bz2
instadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.zip
Series: Moved around directory structure
Refs #55
Diffstat (limited to 'series/core/trunk/includes/db.php')
-rw-r--r--series/core/trunk/includes/db.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/series/core/trunk/includes/db.php b/series/core/trunk/includes/db.php deleted file mode 100644 index 6c08708..0000000 --- a/series/core/trunk/includes/db.php +++ /dev/null
@@ -1,23 +0,0 @@
1<?php
2
3/* InstaDisc Series - A Four Island Project */
4
5if (!file_exists('includes/config.php'))
6{
7 header('Location: install.php');
8 exit;
9}
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
16session_start();
17
18include('includes/config.php');
19
20mysql_connect($dbhost, $dbuser, $dbpass);
21mysql_select_db($dbname);
22
23?>