about summary refs log tree commit diff stats
path: root/central/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'central/trunk')
-rw-r--r--central/trunk/db.php16
-rw-r--r--central/trunk/index.php7
2 files changed, 23 insertions, 0 deletions
diff --git a/central/trunk/db.php b/central/trunk/db.php new file mode 100644 index 0000000..61d9bc4 --- /dev/null +++ b/central/trunk/db.php
@@ -0,0 +1,16 @@
1<?php
2
3/* InstaDisc Server - A Four Island Project */
4
5if (!file_exists('config.php'))
6{
7 header('Location: install.php');
8 exit;
9}
10
11include('config.php');
12
13mysql_connect($dbhost, $dbuser, $dbpass);
14mysql_select_db($dbname);
15
16?>
diff --git a/central/trunk/index.php b/central/trunk/index.php new file mode 100644 index 0000000..31d1af7 --- /dev/null +++ b/central/trunk/index.php
@@ -0,0 +1,7 @@
1<?php
2
3/* InstaDisc Server - A Four Island Project */
4
5include('db.php');
6
7?>