]> git.mxchange.org Git - mailer.git/commitdiff
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 4d2b0058cebd4f6e591f7b13d35f786e14ebee6a..cb36e954f321c97ad2df59b8e43702764692bd86 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 c7a135cf0a63335fc8d734e70db1e7932cb06181..f38f5190647925f19ffe14a7f523d6230005b1c9 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);