Birthday extension secured
authorRoland Häder <roland@mxchange.org>
Tue, 7 Oct 2008 19:09:29 +0000 (19:09 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 7 Oct 2008 19:09:29 +0000 (19:09 +0000)
birthday_confirm.php
inc/databases.php

index 4d2b005..cb36e95 100644 (file)
@@ -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...
index c7a135c..f38f519 100644 (file)
@@ -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);