diff options
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 | ?> |