diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 13:14:00 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 13:14:00 +0000 |
commit | e37f9866bf28a011cc2e884c7a5e2ea6e8508fc0 (patch) | |
tree | 53e9b2b303d78b5f856646fac6d3883f735f875d /series/core/trunk/includes | |
parent | 0c61e34109d7c69b1093463ece88e5545c6f1c16 (diff) | |
download | instadisc-e37f9866bf28a011cc2e884c7a5e2ea6e8508fc0.tar.gz instadisc-e37f9866bf28a011cc2e884c7a5e2ea6e8508fc0.tar.bz2 instadisc-e37f9866bf28a011cc2e884c7a5e2ea6e8508fc0.zip |
Series: Fixed up index.php
Refs #53
Diffstat (limited to 'series/core/trunk/includes')
-rw-r--r-- | series/core/trunk/includes/instadisc.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/series/core/trunk/includes/instadisc.php b/series/core/trunk/includes/instadisc.php index b1b6ce5..3e0ff32 100644 --- a/series/core/trunk/includes/instadisc.php +++ b/series/core/trunk/includes/instadisc.php | |||
@@ -42,4 +42,13 @@ function instaDisc_getAllSubscriptions() | |||
42 | return $getsubs3; | 42 | return $getsubs3; |
43 | } | 43 | } |
44 | 44 | ||
45 | function instaDisc_getConfig($name) | ||
46 | { | ||
47 | $getconfig = "SELECT * FROM config WHERE name = \"" . mysql_real_escape_string($name) . "\""; | ||
48 | $getconfig2 = mysql_query($getconfig); | ||
49 | $getconfig3 = mysql_fetch_array($getconfig2); | ||
50 | |||
51 | return $getconfig3['value']; | ||
52 | } | ||
53 | |||
45 | ?> | 54 | ?> |