From: Roland Häder <roland@mxchange.org>
Date: Tue, 7 Oct 2008 19:09:29 +0000 (+0000)
Subject: Birthday extension secured
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=af81919412fa17e25c8159d94b51f5faeb890a55;p=mailer.git

Birthday extension secured
---

diff --git a/birthday_confirm.php b/birthday_confirm.php
index 4d2b0058ce..cb36e954f3 100644
--- a/birthday_confirm.php
+++ b/birthday_confirm.php
@@ -44,6 +44,12 @@ $GLOBALS['module'] = "birthday_confirm"; $CSS = -1;
 // Load the required file(s)
 require ("inc/config.php");
 
+// Is the "birthday" extension active?
+if (!EXT_IS_ACTIVE("birthday")) {
+	// Redirect to index
+	LOAD_URL("modules.php?module=index&amp;msg=".CODE_EXTENSION_PROBLEM."&amp;ext=birthday");
+} // END - if
+
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
 	// Script is installed so let's check for his confirmation link...
diff --git a/inc/databases.php b/inc/databases.php
index c7a135cf0a..f38f519064 100644
--- a/inc/databases.php
+++ b/inc/databases.php
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "478");
+define('CURR_SVN_REVISION', "479");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);