From 5e84520b571eda5f69ce907aa838820533fd0737 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 7 Sep 2008 14:55:06 +0000 Subject: Series: Started ACP Refs #53 --- series/core/trunk/includes/instadisc.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'series/core/trunk/includes') diff --git a/series/core/trunk/includes/instadisc.php b/series/core/trunk/includes/instadisc.php index 3e0ff32..e044cdc 100644 --- a/series/core/trunk/includes/instadisc.php +++ b/series/core/trunk/includes/instadisc.php @@ -51,4 +51,9 @@ function instaDisc_getConfig($name) return $getconfig3['value']; } +function instaDisc_verifyUser($username, $password) +{ + return (($username == instaDisc_getConfig('adminUser')) && (md5($password) == instaDisc_getConfig('adminPass'))); +} + ?> -- cgit 1.4.1