From da014e7e1ae7559a89e4218fed6a59cd18b7c7e7 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 12 Aug 2008 20:14:40 +0000 Subject: Update: Added #10 support to Subscription File Refs #10 --- update/library/trunk/subscription.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'update/library/trunk') diff --git a/update/library/trunk/subscription.php b/update/library/trunk/subscription.php index 863c30c..6fe0197 100644 --- a/update/library/trunk/subscription.php +++ b/update/library/trunk/subscription.php @@ -15,4 +15,12 @@ if ($idusActivationKey[$id] != '') echo('Key: ' . $idusActivationKey[$id] . "\n"); } +if ($idusEncryptionKey[$id] != '') +{ + $verID = rand(1,65536); + + echo('Verification: ' . md5($idusSubscriptionTitle[$id] . ':' . md5($idusEncryptionKey[$id]) . ':' . $verID) . "\n"); + echo('Verification-ID: ' . $verID . "\n"); +} + ?> -- cgit 1.4.1