} // 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));
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));