diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-06-23 09:47:21 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-06-23 09:47:21 +0000 |
commit | c6e3d927c343280bc1fd6d0dfdb64658151e9aac (patch) | |
tree | 2748a3fef5c547503433cde7ae93da64430bbf28 /central/trunk/common.php | |
parent | 3598c1a205bd3419f75ae481ad20d3f54b154bad (diff) | |
download | instadisc-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/common.php')
-rw-r--r-- | central/trunk/common.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/central/trunk/common.php b/central/trunk/common.php new file mode 100644 index 0000000..573ce15 --- /dev/null +++ b/central/trunk/common.php | |||
@@ -0,0 +1,13 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Server - A Four Island Project */ | ||
4 | |||
5 | include('db.php'); | ||
6 | |||
7 | $getconfig = "SELECT * FROM config"; | ||
8 | $getconfig2 = mysql_query($getconfig); | ||
9 | $config = mysql_fetch_array($getconfig2); | ||
10 | |||
11 | include('header.php'); | ||
12 | |||
13 | ?> | ||