]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-confirm.php
config.php partly solved, see #117
[mailer.git] / inc / modules / guest / what-confirm.php
index aa8d40d7d7d0e182c90b95d2d120e7ec9692eca7..91595cf84aa762ef7f4b2821e89f602cc462e256 100644 (file)
@@ -108,7 +108,7 @@ if (REQUEST_ISSET_GET(('hash'))) {
                        } // END - if
 
                        // Account confirmed!
-                       if (defined('LEAD_CODE_ENABLED') && defined('LEAD_EXPIRY_TIME')) {
+                       if (EXT_IS_ACTIVE('lead')) {
                                // Set special lead cookie
                                setSession('lead_uid', bigintval($uid));
 
@@ -119,7 +119,7 @@ if (REQUEST_ISSET_GET(('hash'))) {
                                define('__UID', bigintval($uid));
                                LOAD_TEMPLATE("guest_confirm_table");
                        }
-               } elseif (defined('LEAD_CODE_ENABLED') && defined('LEAD_EXPIRY_TIME')) {
+               } elseif (EXT_IS_ACTIVE('lead')) {
                        // Set special lead cookie
                        setSession('lead_uid', bigintval($uid));